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

20 lines
532 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.flush = require('./flush');
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;
};