modif Odmdb for cud

This commit is contained in:
2024-03-31 08:23:42 +02:00
parent 355b1cebd5
commit 3ad68d4872
2 changed files with 1 additions and 2 deletions

View File

@@ -597,7 +597,6 @@ Odmdb.cud = (objectPathname, crud, itm, role, runindex = true) => {
//if (log) console.log(currentmod,"getschema", getschema);
//rebuild index if requested
if (log) console.log(currentmod,"runidx", runindex);
if (log) console.log(currentmod,objectPathname);
if (runindex) Odmdb.runidx(objectPathname, getschema.data.schema);
getschema.data.conf.lastupdatedata = dayjs().toISOString();
fs.outputJSONSync(`${objectPathname}/conf.json`, getschema.data.conf);