4 ms·
The database is more than just tables, for your particular example you could use a computed column https://postgrest.org/en/v5.0/api.html#computed-columns https
by steve-chavez 8y ago
The database is more than just tables, for your particular example you could use a computed column https://postgrest.org/en/v5.0/api.html#computed-columns https://postgrest.org/en/v5.0/api.html#computed-columns.
In general, custom business logic can be done through stored procedures/views/computed columns.
- andrewingram 8y ago"Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should." You can do a lot in the database, a lot more than most developers realise, that doesn't mean it's a good idea.