The following operations support views:
collMod
count
create
distinct
find
mongosh
db.collection.aggregate()
db.collection.count()
db.collection.countDocuments()
db.collection.distinct()
db.collection.find()
db.collection.findOne()
db.createCollection()
db.createView()
db.getCollection()
db.getCollectionInfos()
db.getCollectionNames()
On this page
Documentation
Get Started
Deployment
Development
Database Manual
Overview
Documents
Databases & Collections
Views
Create & Query
Join Collections
Use Default Collation
Modify or Remove
Supported Operations
On-Demand Materialized Views
Capped Collections
Clustered Collections
Sample Data
Client Libraries
Connect to a Cluster
Database Users
CRUD Operations
Indexes
Data Modeling
Aggregation Operations
Search
Vector Search
Time Series
Change Streams
Transactions
Data Federation
In-Use Encryption
Development Checklist
Replication
Sharding
Performance
Charts
Reference
Support
Build AI Applications
AI Model APIs
AI Integrations
AI Agents
Streaming Data
Atlas Stream Processing
Atlas Triggers
Release Notes
Server Release Notes
Atlas Release Notes
Search & Vector Search Release Notes
Management
Tools
Atlas Architecture Center