+1
-1
.npmignore
+1
-1
.npmignore
+94
-50
README.md
+94
-50
README.md
···-* **Lightweight & modular:** No decorators, no runtime magic – everything is composable and transparent.············
···+A lightweight, type-safe ODM for MongoDB in TypeScript — inspired by [Drizzle ORM](https://orm.drizzle.team/) and built for developers who value simplicity, transparency, and strong typings.+* **Type-safe operations:** Auto-complete and strict typings for `insert`, `find`, `update`, and `delete`.············
+1
-1
package.json
+1
-1
package.json
+62
-8
src/model.ts
+62
-8
src/model.ts
···-import { Collection, InsertOneResult, UpdateResult, DeleteResult, Document, ObjectId, Filter } from 'mongodb';···
······+return this.collection.replaceOne(query, validatedData as OptionalUnlessRequiredId<z.infer<T>>);