premiere distribution de la page web
This commit is contained in:
9
server/node_modules/better-sqlite3/lib/methods/explain.js
generated
vendored
Normal file
9
server/node_modules/better-sqlite3/lib/methods/explain.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
const { cppdb } = require('../util');
|
||||
|
||||
module.exports = function explain(source) {
|
||||
if (typeof source !== 'string') throw new TypeError('Expected first argument to be a string');
|
||||
|
||||
const stmt = this[cppdb].prepare(`EXPLAIN ${source}`, this, false, true);
|
||||
return stmt.all();
|
||||
};
|
||||
Reference in New Issue
Block a user