I am currently writing database update code in my ...
# supabase-kt
a
I am currently writing database update code in my kotlin android app,
Copy code
supabase.from(ELEMENT_TABLE).update(
    update = {
        set("role", roleId)
    },
    request = {
        filter {
            eq("id", elementId)
        }
    }
)
code like this which will update role column value, and it always return success ( http code is 200), but the value in supabase does not change, anybody could help me? supabase version is 3.0.1
j
Did you check your RLS policies?
a
You are right!!,I did't set update policies, it works now, thanks so much