sqlite3-cluster
Version:
A wrapper to enable the use of sqlite3 with node cluster via a socket server (i.e. for Raspberry Pi 2).
18 lines (12 loc) • 434 B
JavaScript
;
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;
module.exports.escape = sqlite3.escape;
module.exports.create = create;