monSQLize Documentation
This documentation starts with the common application path: connect to MongoDB, run collection operations, add Model validation when needed, then enable cache, transactions, pools, sync, and operations features deliberately.
Main Documentation Paths
Recommended Reading Order
- Package entry: repository README
- Installation:
getting-started.md - Basic usage:
basic-operations.md - Constructor configuration:
configuration.md - Examples:
- Cache guide:
cache.md - Write path policy:
write-path-policy.md - Production rollout:
production-rollout.md - Production data migration:
production-data-migration.md - Data tasks API:
data-tasks.md - Scenario guides:
recipes.md - API and runtime reference:
Source and Verification
- The website is generated from
docs/enanddocs/zh. - Runnable examples live in
examples. - Public package behavior should match the package root exports, public types, and runnable examples.
Running Examples
Run these commands from the repository root:
npm run test:examples starts temporary MongoDB test servers through the repository example runner, compiles the TypeScript examples, runs them, and cleans up the temporary data directories.