Skip to content

totaljs/querybuildersqlserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Total.js QueryBuilder: mssql

A simple QueryBuilder integrator for mssql database.

Initialization

  • Example: microsoftsqlserver://user:password@localhost:5432/database
// require('querybuilderpg').init(name, connectionstring, pooling, [errorhandling]);
// name {String} a name of DB (default: "default")
// connectionstring {String} a connection to the mssql
// pooling {Number} max. clients (default: "0" (disabled))
// errorhandling {Function(err, cmd)}

require('querybuilderpg').init('default', CONF.database);
// require('querybuilderpg').init('default', CONF.database, 10);

Usage:

DATA.find('tbl_user').where('id', 1234).callback(console.log);

Connection string attributes

  • Connection string example: microsoftsqlserver://user:password@localhost:5432/database

About

Total.js QueryBuilder for MS SQL Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published