2016-05-06 04:50:59 +00:00
|
|
|
// Copyright IBM Corp. 2014,2016. All Rights Reserved.
|
|
|
|
// Node module: loopback-connector
|
|
|
|
// This file is licensed under the MIT License.
|
|
|
|
// License text available at https://opensource.org/licenses/MIT
|
|
|
|
|
2016-07-25 16:45:38 +00:00
|
|
|
var SG = require('strong-globalize');
|
|
|
|
SG.SetRootDir(__dirname);
|
|
|
|
|
2014-05-23 08:50:23 +00:00
|
|
|
exports.Connector = require('./lib/connector');
|
2015-05-13 17:14:44 +00:00
|
|
|
// Set up SqlConnector as an alias to SQLConnector
|
|
|
|
exports.SQLConnector = exports.SqlConnector = require('./lib/sql');
|
|
|
|
exports.ParameterizedSQL = exports.SQLConnector.ParameterizedSQL;
|
2015-05-15 17:27:08 +00:00
|
|
|
exports.Transaction = require('./lib/transaction');
|
|
|
|
|
2016-10-19 10:55:35 +00:00
|
|
|
exports.createPromiseCallback = require('./lib/utils').createPromiseCallback;
|
|
|
|
|
|
|
|
// KeyValue helpers
|
|
|
|
exports.ModelKeyComposer = require('./lib/model-key-composer');
|
2016-10-19 11:14:55 +00:00
|
|
|
exports.BinaryPacker = require('./lib/binary-packer');
|
2016-11-10 03:26:13 +00:00
|
|
|
exports.JSONStringPacker = require('./lib/json-string-packer');
|