Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Goal Start here Notes
Install, connect, and run the first query getting-started.md Installation and minimal connection validation
Learn basic usage for common collection operations basic-operations.md Daily CRUD, pagination, cache TTL, and Model entry-point guidance
Configure new MonSQLize(options) configuration.md Complete constructor options, defaults, cache, Redis, Model, sync, pools, and logging
Match docs to runnable source examples.md Links each topic to a GitHub example source
Add database caching cache.md Collection query cache, Redis L2 cache, and distributed invalidation
Control collection-vs-Model writes write-path-policy.md Optional guard when selected namespaces must go through Model writes
Prepare production rollout production-rollout.md Data task rollout, Change Stream CDC, index preflight, and traffic-switch checks
Migrate production data by scenario production-data-migration.md Filtered data, indexes, field edits, and restore from instance A to production
Look up data task parameters data-tasks.md One Job configuration, four methods, every parameter, and CLI commands
Follow scenario guides recipes.md Guides for connection, cache, Redis, SSH, pools, and Model usage
Browse the full API surface api-index.md Reference entry for lower-level and compatibility APIs
Check runtime boundaries capability-index.md Capability map with links to deeper reference pages

Recommended Reading Order

  1. Package entry: repository README
  2. Installation: getting-started.md
  3. Basic usage: basic-operations.md
  4. Constructor configuration: configuration.md
  5. Examples:
  6. Cache guide: cache.md
  7. Write path policy: write-path-policy.md
  8. Production rollout: production-rollout.md
  9. Production data migration: production-data-migration.md
  10. Data tasks API: data-tasks.md
  11. Scenario guides: recipes.md
  12. API and runtime reference:

Source and Verification

  • The website is generated from docs/en and docs/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 build
npm run test:examples

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.