Success updating with status 204, but logged data is null
I was updating a row, it was successfully updated, but when i log the result, the data is null.
here's my code:
model
and in controller:
when i log the result:
when i check the table, data is updated but the log didn't show it. i do the same way in my last project, and it was fine.

3 Replies
Is this supabase v1 or v2
I’m not sure if an update will return the updated data in v2
NanoBit is correct v2 requires you add .select() at end.
thank you, now data is showing
looks like im using v2, after adding .select(), it shows the data