node-query/lib/adapters/Sqlite/index.js

11 lines
186 B
JavaScript
Raw Normal View History

'use strict';
module.exports = config => {
const Implementation = (config.native)
? require('./sqlite3')
: require('./dblite');
return new Implementation(config.connection);
};