Docs Menu
Docs Home
/
MongoDB Atlas
/ / /

Administration Commands

On this page

  • collMod
  • hello
  • killCursors
  • listCollections
  • listDatabases

Atlas Data Federation supports the collMod command only for modifying view definitions. You can't use the collMod command to add options to a collection.

Atlas Data Federation supports the hello command, which is used to describe the role of the mongod instance. In the document returned by the hello command, the isWritablePrimary field is set to true.

Atlas Data Federation supports the optional saslSupportedMechs field set to the <db.user>.

The killCursors command kills the specified cursor or cursors for a collection.

The listCollections command retrieves information about the collections in a database, such as collection names and options. The response contains information that can be used to create a cursor to the collection information. Results are ordered alphabetically by collection name.

Atlas Data Federation supports the following options:

  • filter (Exact match only.)

  • nameOnly

  • authorizedCollections

The listDatabases command provides a list of all existing databases in alphabetical order. You must use the admin database to run the listDatabases command.

The following options are supported:

  • filter (Exact match only.)

  • nameOnly

  • authorizedDatabases

The listDatabases command always returns sizeOnDisk: 0 and empty: false so it can return quickly, without scanning all the files in the S3 buckets.

Back

MongoDB Commands