Skip to main content
Create pre-computed views with JOINs and aggregations for instant query performance. Data is pre-computed and updates automatically when source data changes.

Creating Views

Simple View

View with JOINs

Aggregated Views

Create views with GROUP BY for dashboard analytics:

Managing Views

SQL-Based Views

Create views using SQL syntax with configurable refresh modes:

Querying Views

Query materialized views like regular collections - data is pre-computed and instant:

Aggregation Operators

Use Cases

Analytics Dashboard

Leaderboard

Denormalized Feed

Performance Benefits

When to Use Views

Use materialized views when:
  • Queries are complex (multiple JOINs, aggregations)
  • Data is queried frequently
  • Real-time freshness is not critical
  • Dashboard or analytics scenarios
Use regular queries when:
  • Data must be real-time fresh
  • Queries are simple
  • Data changes frequently and views would need constant refresh

Next Steps

CRUD Operations

Document operations

Query Builder

Build complex queries