3 ms·
Wouldn't it just be better to invert the relation (sic) between App-ORM and DB, and have everyone better understand what data modelling and a DBMS is, then writ
by guiriduro 8y ago
Wouldn't it just be better to invert the relation (sic) between App-ORM and DB, and have everyone better understand what data modelling and a DBMS is, then write SQL and some reverse-ORM to expose App services in SQL?
E.g.
EXPOSE SERVICE(REST, GraphQL) BillOfMaterials (VARCHAR arg) AS (SELECT ... WHERE ... = arg etc.)
- girvo 8y agoYep! See here[0] and here[1] for that idea done with Postgres [0] https://postgrest.org/en/v5.0/ https://postgrest.org/en/v5.0/ [1] https://www.graphile.org/postgraphile/ https://www.graphile.org/postgraphile/