@mantiq/database 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/orm/Model.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantiq/database",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Query builder, ORM, migrations, seeders, factories — with SQLite, Postgres, MySQL and MongoDB support",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/orm/Model.ts CHANGED
@@ -416,6 +416,10 @@ export abstract class Model {
416
416
  return this.toObject()
417
417
  }
418
418
 
419
+ [Symbol.for('nodejs.util.inspect.custom')](): Record<string, any> {
420
+ return this.toObject()
421
+ }
422
+
419
423
  // ── Persistence ────────────────────────────────────────────────────────────
420
424
 
421
425
  /**