Re:Ask HN: Business logic in the database – your thoughts
by vanilla-almond on Monday October 29, 2018 @06:42PM
(#18332308)
I was thinking in terms of what level of detail is preferred in a database. Is it merely the database schema? Is it adding constraints and data validation logic to that schema (or placing that outside in your programming language code)? Or is it also adding (stored) procedures using the database language too? I'm guessing that everyone will have a different opinion based on the projects they've worked on.
Can you give an example of the business logic you have in mind?