modif Odmdb for cud
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user