Multi DB ORM v3.1.4 is a TypeScript-shipping library that provides a unified CRUD interface for SQL and NoSQL databases including MongoDB, Firestore, SQLite, MySQL, Oracle, and SAP HANA. It supports backup, restore, and migration across databases. The library is actively maintained on GitHub and requires installing target-specific database drivers as optional peer dependencies. Key differentiators: single API for multiple DBs, built-in backup/restore, and cross-database migration support. Release cadence is not documented; latest version is 3.1.4.
npm install multi-db-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic insert and get operations with Firestore using a service account file. Assumes firebase-admin is installed.
Always provide an 'id' field or explicit document path to avoid unexpected duplicate IDs.
Use snake_case field names in objects when using OracleDB.
Be aware that undefined values become null in Firestore.
Always use await or .then() when calling insert, get, update, delete, etc.
Run npm install with the required driver for your database: npm install mongodb, npm install firebase-admin, etc.
Run 'npm install multi-db-orm'.
Use 'import { MongoDB } from 'multi-db-orm'' instead of 'import MongoDB from 'multi-db-orm''.Run 'npm install sqlite3'.
Add an 'id' field to your object or pass document path as last parameter.
No dependency data recorded yet.