Moving data from quick.db with abc.db is easy because it's embedded inside the module. Look below for ways to move from quick.db's main keyv structure, and quick.db's tables.
Moving data from main module
JavaScript
constdb=require("quick.db");constAbcDB=require("abc.db");constDB=newAbcDB("your mongo connection uri","your database name");constmyEpicCollection=DB.Collection("an epic name");myEpicCollection.migrateFromQuickDB(db.all());//and that is it, all your data is now moved
TypeScript
import db from"quick.db";import AbcDB from"abc.db";constDB=newAbcDB("your mongo connection uri","your database name");constmyEpicCollection=DB.Collection("an epic name");myEpicCollection.migrateFromQuickDB(db.all());//and that is it, all your data is now moved
Moving data from a table
JavaScript
constdb=require("quick.db");constAbcDB=require("abc.db");constDB=newAbcDB("your mongo connection uri","your database name");constmyEpicCollection=DB.Collection("an epic name");constquickdbtable=newdb.table("tablename");myEpicCollection.migrateFromQuickDB(quickdbtable.all());//and that is it, all your data is now moved
TypeScript
import db from"quick.db";import AbcDB from"abc.db";constDB=newAbcDB("your mongo connection uri","your database name");constmyEpicCollection=DB.Collection("an epic name");constquickdbtable=newdb.table("tablename");myEpicCollection.migrateFromQuickDB(quickdbtable.all());//and that is it, all your data is now moved