Synchronization
Overwrite from another Record
await db.get('tag').syncWith('_tag')Parameter
About
Type
Required
Watch a File
const { watcher, stop } = db.get('tag').watch()
for await (const event of watcher) {
console.log(`Event type: ${event.eventType}`);
console.log(`Filename: ${event.filename}`);
}
stop() // Stop watchingDuplicate Entire Database
db.copyTo('path')Parameter
About
Type
Required
Replication / Continuous Sync
Parameter
About
Type
Required
Stop Replication
Flush Replication Queue
Replication Status
Last updated