Re:Node.js, MongoDB, and you: an intro in parts
by hkarthik on Thursday January 16, 2014 @03:56PM
(#7072503)
Any suggestions on ORMs or npm packages to use with pg and node?
Re:Node.js, MongoDB, and you: an intro in parts
by twerquie on Friday January 17, 2014 @01:25PM
(#7077465)
I'm a big fan of ORMs in other ecosystems (Rails and Django, for example), but in node I like to write more functional-style code, composing small modules into larger applications.
For this, check out the fantastic node-postgres adapter from brianc as well as his node-sql package for authoring SQL statements.
https://github.com/brianc/node-postgres https://github.com/brianc/node-sql
Re:Node.js, MongoDB, and you: an intro in parts
by sync on Thursday January 16, 2014 @04:34PM
(#7072693)
Stars is a great ranking technique, e.g.http://www.node-modules.com/search?q=postgresql&u=
Re:Node.js, MongoDB, and you: an intro in parts
by dlau1 on Thursday January 16, 2014 @09:01PM
(#7073839)
I'm using knex [0] which I am pretty happy with. There is also a higher level version built on top of it called bookshelf [1]
0 : https://github.com/tgriesser/knex 1 : https://github.com/tgriesser/bookshelf
I really think Pg is starting to blow Mongo out of the water.