2020-01-21 18:12:14 +00:00
|
|
|
// 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
|
|
|
|
|
2016-08-08 08:15:22 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
function KeyValueAccessObject() {
|
2018-12-07 14:43:40 +00:00
|
|
|
}
|
2016-08-08 08:15:22 +00:00
|
|
|
|
|
|
|
module.exports = KeyValueAccessObject;
|
|
|
|
|
2017-01-06 03:32:41 +00:00
|
|
|
KeyValueAccessObject.delete = require('./delete');
|
|
|
|
KeyValueAccessObject.deleteAll = require('./delete-all');
|
2016-08-08 08:15:22 +00:00
|
|
|
KeyValueAccessObject.get = require('./get');
|
|
|
|
KeyValueAccessObject.set = require('./set');
|
|
|
|
KeyValueAccessObject.expire = require('./expire');
|
2016-08-10 06:21:51 +00:00
|
|
|
KeyValueAccessObject.ttl = require('./ttl');
|
2016-08-15 12:55:26 +00:00
|
|
|
KeyValueAccessObject.iterateKeys = require('./iterate-keys');
|
|
|
|
KeyValueAccessObject.keys = require('./keys');
|
2016-08-08 08:15:22 +00:00
|
|
|
|
|
|
|
KeyValueAccessObject.getConnector = function() {
|
|
|
|
return this.getDataSource().connector;
|
|
|
|
};
|
|
|
|
|