For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
MongoDB Branding Shape
Click here >
Docs Menu

Supported MongoDB Commands

This section describes the MongoDB query operations that are supported by Data Federation.

Important

Some commands have special behavior in Data Federation that differs from standard MongoDB functionality.

To run a command against your federated database instance, use db.runCommand():

db.runCommand( { <command> } )