⚡ Smart Two-Level Cache
L1 in-memory (LRU) + L2 Redis with zero code changes. Query performance boost 10~100×. Pattern-based invalidation, distributed cache sync built-in.
Full TypeScript · 56+ Enhanced Methods · Multi-Pool · Saga · Caching · 100% v1 Compatible
L1 in-memory (LRU) + L2 Redis with zero code changes. Query performance boost 10~100×. Pattern-based invalidation, distributed cache sync built-in.
findPage (cursor/offset pagination), findOneById, findByIds, findAndCount, stream, explain and more — the most complete MongoDB query extension set.
Distributed locks, SSH tunnels, Saga distributed transactions, Change Stream sync, slow-query logging — all zero-config out of the box.
Load balancing, automatic failover, and pool().use().scopedCollection() chain access for advanced multi-database architectures.
Schema validation, lifecycle hooks, and Populate associations (6 methods). Progressive adoption — drop in without touching existing code.
Complete type declarations, 100% v1 API compatible, 2284/2284 assertions pass in the current release preflight. Works side-by-side with Mongoose or native driver projects.
Distributed saga orchestration with automatic compensation. Define multi-step workflows with rollback semantics across services.
Automatic slow-query detection and logging with configurable thresholds. MongoDB and in-memory storage adapters included.
Fluent builder API — find().where().select().sort().skip().limit().lean() — composes complex queries with full TypeScript inference.