Skip to main content

Quick Reference

Query Operators

Boolean Logic

Relationships

User Queries

Common Patterns

Pagination

Authentication Check

Error Handling

Response Format

Tips

  • Always use limit to avoid large result sets
  • Use populate only for fields you actually need
  • Use select to return only required fields
  • Handle errors gracefully with try/except
  • Use queue for non-blocking background tasks
  • Check req.user for authenticated endpoints