0

i'm looking for node modules to connect with my postgresql database.

Also, in order to keep code good enough to understand and maintain, i need something more.

My research gave me a few options:

My main needs are:

  1. To be able to either avoid query string concats or load external queries
  2. Receive or automatically transform the query result into json (so my express controller can answer my angular frontend)
  3. Avoid as much as possible any performance issue

I'll thank and take a good look on any recommendation, and will update this thread to share my findings.

1 Answer 1

1

I can recommend for PostgreSQL BookShelf (http://bookshelfjs.org/), it's based on the Knex Query Builder (http://knexjs.org/)

Sign up to request clarification or add additional context in comments.

1 Comment

thanks a lot, i'm using knex and the migrations thing to manage my postgre database. it's quite neat.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.