added flag for the erased notes

This commit is contained in:
zadam
2019-11-01 22:09:51 +01:00
parent 2e58e32112
commit 2af86927b0
9 changed files with 107 additions and 25 deletions

View File

@@ -152,6 +152,11 @@ async function execute(query, params = []) {
return result;
}
async function executeMany(query, params) {
// essentially just alias
await getManyRows(query, params);
}
async function executeScript(query) {
return await wrap(async db => db.exec(query));
}
@@ -235,6 +240,7 @@ module.exports = {
getMap,
getColumn,
execute,
executeMany,
executeScript,
transactional,
upsert