Skip to main content

All Questions

0 votes
1 answer
914 views

Supabase function doesn't do any calculations

I have a function: begin if pg_trigger_depth() <> 1 then return new; end if; new.rating = ROUND((new.total_score / new.total_reviews), 1); return new; end; This function ...
Scheffio's user avatar