© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
12 replies
TARS

Update a supabase table row from next.js

I'm creating a UI component to my next.js app , and it's supposed to edit the data to a supabase table row. There's 19 columns in this table.

Let's say the user only changes one of these 19, but I still insert 19 values where 18 is the same as the existing row, does it still update all rows regardless, or just the data that is changed? And, is this concidered very bad practice?

The operation to sort out on the client what values that has changed, and then make a custom insert for only those values is a bit more tricky, but maybe it's the only way?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Supabase auth next.js
SupabaseSSupabase / help-and-questions
4y ago
Supabase, Proxy & Next.js 16
SupabaseSSupabase / help-and-questions
4mo ago
Supabase with Next.js 13
SupabaseSSupabase / help-and-questions
4y ago
Supabase Auth with Next.js
SupabaseSSupabase / help-and-questions
4y ago