News for hackers. Stuff that matters.
Re:Sync Engines Are the Future by brulard on Friday March 21, 2025 @08:50AM (#43435023)
While I don't like the idea of putting logic to the DBRMS (if not for a really good reason), you can do unit tests and code reviews. In a serious project you already should have a way to make migrations and versioning of the DB itself (for example using prisma, drizzle, etc.). Procedures would be just another entry in the migrations and unit tests can create testing temporary DB, run the procedures and compare the results. I agree tooling is (AFAIK) not good and there will be much more work around that, but it is possible.

There are no comments on this comment yet.