loopback-connector/index.js

22 lines
853 B
JavaScript
Raw Normal View History

2019-04-18 21:32:38 +00:00
// Copyright IBM Corp. 2014,2019. All Rights Reserved.
2016-05-06 04:50:59 +00:00
// 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';
const SG = require('strong-globalize');
2016-07-25 16:45:38 +00:00
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');