3 ms·
nice API for building queries" You just described ORMs. The implementation details can vary but ORM is pretty much an API for building queries on top of a DB.
by codegeek 4y ago
nice API for building queries"
You just described ORMs. The implementation details can vary but ORM is pretty much an API for building queries on top of a DB.
- vlunkr 4y agoThat's true. I guess what I have in mind are ORMs like Active Record, which adds all sorts of magical layers on top the query building, but still somehow gets the some of the basics wrong, like being able to select arbitrary values easily, or making OR queries an intuitive mess.
- jeltz 4y agoNo, most ORMs are bad APIs for building queries due to trying to hide that the database is relational.