Module: node-query

node-query

require("node-query")(drivername, connObject, connLib) → {queryBuilder}

Create a query builder object

Parameters:
Name Type Argument Description
drivername String

The name of the database type, eg. mysql or pg

connObject Object

A connection object from the database library you are connecting with

connLib String <optional>

The name of the db connection library you are using, eg. mysql or mysql2. Optional if the same as drivername

Source:
Returns:
Type
queryBuilder
Source:

Methods

getQuery() → {queryBuilder}

Return an existing query builder instance

Source:
Returns:
Type
queryBuilder
DocStrap Copyright © 2012-2014 The contributors to the JSDoc3 and DocStrap projects.
Documentation generated by JSDoc 3.3.0-alpha9 on Tue Jan 27th 2015 using the DocStrap template.