3 ms·
If the business logic relates directly to the data, then that is my preference. I think it simplifies a lot of things for a REST API too. Thanks to the JSON sup
by rpedela 8y ago
If the business logic relates directly to the data, then that is my preference. I think it simplifies a lot of things for a REST API too. Thanks to the JSON support, I often write plpgsql functions that create the result JSON and the web server just passes it on. I have often found that to be faster than trying to construct it in the web server, but not always.