If you abstract at the db level then your db reading code is either unlikely to be in version control or you need a klug to for version control for stored procedures.
I suppose it is in theory but how many of us work in theory rather than with a set of tools that are commonly available?
Or maybe it’s just better to roll your own version control system to support your really amazing new app architecture that stores lots of logic in database functions, what do I know? ¯\_(ツ)_/¯