loopback-datasource-juggler/lib/kvao/index.js

26 lines
804 B
JavaScript
Raw Normal View History

// Copyright IBM Corp. 2016,2019. All Rights Reserved.
2019-05-08 15:45:37 +00:00
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
'use strict';
function KeyValueAccessObject() {
}
module.exports = KeyValueAccessObject;
KeyValueAccessObject.delete = require('./delete');
KeyValueAccessObject.deleteAll = require('./delete-all');
KeyValueAccessObject.get = require('./get');
KeyValueAccessObject.set = require('./set');
KeyValueAccessObject.expire = require('./expire');
2016-08-10 06:21:51 +00:00
KeyValueAccessObject.ttl = require('./ttl');
KeyValueAccessObject.iterateKeys = require('./iterate-keys');
KeyValueAccessObject.keys = require('./keys');
KeyValueAccessObject.getConnector = function() {
return this.getDataSource().connector;
};