-
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
const db = new JsonDB(
new Config('db.json', true, true)
);
const map = new Map();
map.set('a', 1);
map.set('b', 2);
map.set('c', 3);
await db.push('pathToMap', map);
const beforeReload = await db.getData('/'); //OK but pathToMap in file is empty
await db.reload();
const afterReload = await db.getData('/'); //returns: { pathToMap: {} }
Metadata
Metadata
Assignees
Labels
No labels