6 ms·
If I'm reading this correctly, it doesn't handle object graph traversal - if you need it, you have to write your own JOIN manually, and then the library will wr
by int_19h 4y ago
If I'm reading this correctly, it doesn't handle object graph traversal - if you need it, you have to write your own JOIN manually, and then the library will wrap that. I would argue that graph traversal is one of the basic features of an ORM.
- unemployable 4y agoIn an ORM, you will write include: ['posts'] in SQL, you will write join posts on p.authorId = a.id I would argue an ORM is more about getting the flat structure of the result set into an hierarchical set of objects with more complex types.