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