Total.js Platform news and tutorials
New version of SQL Agent brings some improvements and bug fixes.
$ npm install sqlagent
I have improved
sql.listing() method for all databases. Now it returns an extended object with new properties:
Inline callback can be defined in
SqlBuilder and it supports only the one callback function. The example below describes the functionality:
Each version of MongoDB is a bit different and this is a big problem for long term projects. Therefore I don't recommend to use MongoDB. This version of SQL Agent solves a problem with a new version of MongoDB driver and with storing static files in GridFS. Support Node PostgreSQL it's really good and helpful module.
I have improved connection string for PostgreSQL by adding a
I have fixed storing files in older
< 9.3 versions of PostgreSQL. This module stores files in
pg_largeobject collection. Files are stored in chunks and reading/writing is built on Node.js streams.