devmor 3 days ago

That could certainly be one way to handle it, if your specific problem domain supports that logic being in stored procedures.