SupabaseS
Supabase4y ago
TARS

Total number of rooms

I have a table with hosts, and there are several colums there about amount of different sooms. Living rooms, kitchens etc.

Now I also need a count of total rooms to this host object. What is the best practice of doing this? Can I have a column, that takes an int as the sum of other columns? Or how does that work?

thanks!
Was this page helpful?