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

8 lines
170 B
JavaScript
Raw Permalink Normal View History

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