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

19 lines
483 B
JavaScript
Raw Normal View History

'use strict';
function KeyValueAccessObject() {
};
module.exports = KeyValueAccessObject;
KeyValueAccessObject.get = require('./get');
KeyValueAccessObject.set = require('./set');
KeyValueAccessObject.expire = require('./expire');
KeyValueAccessObject.ttl = require('./ttl');
KeyValueAccessObject.iterateKeys = require('./iterate-keys');
KeyValueAccessObject.keys = require('./keys');
KeyValueAccessObject.getConnector = function() {
return this.getDataSource().connector;
};