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

21 lines
591 B
JavaScript
Raw Normal View History

'use strict';
function KeyValueAccessObject() {
2018-12-07 16:13:48 +00:00
}
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;
};