logoalt Hacker News

hparadiztoday at 4:46 PM1 replyview on HN

That's a query writer. Not an ORM.


Replies

doolstoday at 9:09 PM

No, it's an ORM because it gives you object based iteration over your query (and the ability to use custom classes for those objects, you just don't have to create classes for every single thing if you don't need them).

EDIT: oh wait looks like I never got around to implementing the ability to use custom classes :) this is still in the to do section:

come up with a good "mix in" style to cast the objects returned from the iterator to a new class for implementing custom functionality (that one would normally include as part of the "boilerplate" class)

show 1 reply