db.help()/collection.help()
Reference group: Indexes and aggregation
What it does
Displays shell API help for the current version.
Syntax
db.help(); db.collection.help()
Use case
Discover available methods and signatures.
db.help()/collection.help(): practical example
db.help(); db.orders.help()💡 Explanation
Displays shell API help for the current version.
When to use it
Discover available methods and signatures.
Key Takeaways
- Displays shell API help for the current version.
- Typical use: Discover available methods and signatures.