The DSL for your database is called SQL.
A DSL which manipulates queries and then produces syntactically valid SQL is tremendously valuable.
https://www.red-gate.com/simple-talk/sql/performance/control...
Also, views tend to pollute the namespace a bit: you want a set of descriptive names, per application, and possibly per application version. Schemata help here, though.
Templating can absolutely save time and boilerplate, but adding a DSL over a DSL in the form or ORM may well be the problem.