3 ms·
Knex is probably the closest thing js has to this. It's not an orm though, just a query builder.
by city41 3y ago
Knex is probably the closest thing js has to this. It's not an orm though, just a query builder.
- jeswin 3y agoKnex is quite different iirc. I was saying that ORMs should make use of parsers and modern language features (such as first class functions) to offer a unified interface to collections in memory and collections in the db. Essentially treating the table as a list on which you can use operators you're already familiar with. By doing so, your core API is timeless. Because you didn't invent an API.