Been using Knex for a while and keep finding powerful features. After using bookshelf for a while I'm back to just Knex. Love the chainable api too. The transaction support is also rad. At first I liked bookshelf. Still do :-). The relations loading is very convenient and the backbone ish models are familiar and intuitive. But so far just using views and chained queries is convenient enough for me.
One thing that was a pain for bookshelf models was dealing with denormalised data. I guess you could parse payloads into db rows but by then, you may as well just call knex.insert instead of forging models. That along with object key formatting difficulties (my_column in db myColumn in js) made me switch to Knex alone. It is simple enough to just pass rows through a function before/after data access. Let us know how it goes! -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/ea04ba11-cb6c-4442-8379-df707dd0769e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
