MongoEngine
latest
  • 1. Tutorial
  • 2. User Guide
    • 2.1. Installing MongoEngine
    • 2.2. Connecting to MongoDB
    • 2.3. Defining documents
    • 2.4. Documents instances
    • 2.5. Querying the database
    • 2.6. Document Validation
    • 2.7. GridFS
    • 2.8. Signals
    • 2.9. Text Search
    • 2.10. Documents migration
    • 2.11. Logging/Monitoring
    • 2.12. Use mongomock for testing
  • 3. API Reference
  • 4. Changelog
  • 5. Upgrading
  • 6. Frequently Asked Questions
  • 7. Django Support
MongoEngine
  • »
  • 2. User Guide
  • Edit on GitHub

2. User Guide¶

  • 2.1. Installing MongoEngine
  • 2.2. Connecting to MongoDB
    • 2.2.1. Replica Sets
    • 2.2.2. Multiple Databases
    • 2.2.3. Context Managers
  • 2.3. Defining documents
    • 2.3.1. Defining a document’s schema
    • 2.3.2. Dynamic document schemas
    • 2.3.3. Fields
    • 2.3.4. Document collections
    • 2.3.5. Indexes
    • 2.3.6. Ordering
    • 2.3.7. Shard keys
    • 2.3.8. Document inheritance
    • 2.3.9. Abstract classes
  • 2.4. Documents instances
    • 2.4.1. Saving and deleting documents
    • 2.4.2. Document IDs
  • 2.5. Querying the database
    • 2.5.1. Filtering queries
    • 2.5.2. Query operators
    • 2.5.3. Sorting/Ordering results
    • 2.5.4. Limiting and skipping results
    • 2.5.5. Default Document queries
    • 2.5.6. Custom QuerySets
    • 2.5.7. Aggregation
    • 2.5.8. Query efficiency and performance
    • 2.5.9. Advanced queries
    • 2.5.10. Atomic updates
    • 2.5.11. Server-side javascript execution
  • 2.6. Document Validation
    • 2.6.1. Built-in validation
    • 2.6.2. Custom validation
    • 2.6.3. Skipping validation
  • 2.7. GridFS
    • 2.7.1. Writing
    • 2.7.2. Retrieval
    • 2.7.3. Streaming
    • 2.7.4. Deletion
    • 2.7.5. Replacing files
  • 2.8. Signals
    • 2.8.1. Overview
    • 2.8.2. Attaching Events
  • 2.9. Text Search
    • 2.9.1. Defining a Document with text index
    • 2.9.2. Querying
    • 2.9.3. Ordering by text score
  • 2.10. Documents migration
    • 2.10.1. Example 1: Addition of a field
    • 2.10.2. Example 2: Inheritance change
    • 2.10.3. Recommendations
    • 2.10.4. Post-processing checks
  • 2.11. Logging/Monitoring
  • 2.12. Use mongomock for testing
    • 2.12.1. Example of test file:
Next Previous

© Copyright 2009, MongoEngine Authors Revision 86ad8d11.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
Downloads
On Read the Docs
Project Home
Builds