Data Store
Removed in Inkdrop 6. inkdrop.main.dataStore lived in the main process
and was reached through Electron's remote module, which v6 dropped. Plugins
now access the local database through the inkdrop.localDB proxy β see
Accessing the local database and the
migration
guide.
| Inkdrop 5 | Inkdrop 6 |
|---|---|
inkdrop.main.dataStore.getLocalDB() | inkdrop.localDB |
inkdrop.main.dataStore.localPouch | Not available to plugins |
inkdrop.main.dataStore.local | inkdrop.localDB |
inkdrop.main.dataStore.sync | Not available to plugins |
inkdrop.main.dataStore.updateFTSIndex() | Not available to plugins |