loopback-connector/index.js

22 lines
851 B
JavaScript
Raw Permalink Normal View History

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
2017-03-06 23:40:47 +00:00
'use strict';
2016-07-25 16:45:38 +00:00
var SG = require('strong-globalize');
SG.SetRootDir(__dirname);
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');
exports.createPromiseCallback = require('./lib/utils').createPromiseCallback;
// KeyValue helpers
exports.ModelKeyComposer = require('./lib/model-key-composer');
exports.BinaryPacker = require('./lib/binary-packer');
2016-11-10 03:26:13 +00:00
exports.JSONStringPacker = require('./lib/json-string-packer');