Skip to content

Unable to perform table update using POST to function #2387

Answered by steve-chavez
felipemullen asked this question in Q&A
Discussion options

You must be logged in to vote

UPDATE values_table SET score = 123 WHERE device_id = '_deviceId';

Maybe there's an RLS policy that's filtering the rows UPDATE can affect.

Try disabling RLS or making your function SECURITY DEFINER.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@felipemullen
Comment options

@steve-chavez
Comment options

Answer selected by felipemullen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2386 on July 22, 2022 20:03.