mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
added flag for the erased notes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user