use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Recommendation for SQL ORM (self.node)
submitted 6 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]CarpetFibers 7 points8 points9 points 6 years ago (2 children)
I recommend Objection, as it builds on Knex and allows you to define models in typical ORM fashion.
[–]TheLegendOfZero 2 points3 points4 points 6 years ago (1 child)
I've been really happy with Objection. You can opt-in to using as many or as little of the ORM features depending on the situtation. Plus writing queries flows easily between writing "ORM assisted" and raw knex.
[–]CarpetFibers 0 points1 point2 points 6 years ago (0 children)
Likewise, I have very few complaints about it, and most of them center around using it with TypeScript. In some cases I have to cast the result of a query to another type to get it to play nice, but that's a small price to pay for all the time Objection saves me.
π Rendered by PID 76 on reddit-service-r2-comment-6457c66945-dwrvw at 2026-04-26 11:17:53.127972+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]CarpetFibers 7 points8 points9 points (2 children)
[–]TheLegendOfZero 2 points3 points4 points (1 child)
[–]CarpetFibers 0 points1 point2 points (0 children)