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