19 lines
718 B
JavaScript
19 lines
718 B
JavaScript
// 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
|
|
|
|
var SG = require('strong-globalize');
|
|
SG.SetRootDir(__dirname);
|
|
|
|
exports.Connector = require('./lib/connector');
|
|
// Set up SqlConnector as an alias to SQLConnector
|
|
exports.SQLConnector = exports.SqlConnector = require('./lib/sql');
|
|
exports.ParameterizedSQL = exports.SQLConnector.ParameterizedSQL;
|
|
exports.Transaction = require('./lib/transaction');
|
|
|
|
exports.createPromiseCallback = require('./lib/utils').createPromiseCallback;
|
|
|
|
// KeyValue helpers
|
|
exports.ModelKeyComposer = require('./lib/model-key-composer');
|