2015-07-24 19:58:29 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var sqlite3 = require('./index');
|
|
|
|
|
|
|
|
function create(opts) {
|
|
|
|
opts.standalone = true;
|
|
|
|
|
|
|
|
// TODO if cluster *is* used issue a warning?
|
|
|
|
// I suppose the user could be issuing a different filename for each
|
|
|
|
// ... but then they have no need to use this module, right?
|
|
|
|
|
|
|
|
return sqlite3.create(opts);
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports.sanitize = sqlite3.sanitize;
|
2015-07-24 20:47:11 +00:00
|
|
|
module.exports.escape = sqlite3.escape;
|
2015-07-24 19:58:29 +00:00
|
|
|
module.exports.create = create;
|