Realm~MongoDBDatabase

The MongoDB service can be used to get database and collection objects for interacting with MongoDB data.

name

Get the database name.

collection(name)Realm.MongoDBCollection

Get the interface to a remote MongoDB collection.

Parameters:
  • name
    • Type: string
    • The name of the collection.

Returns: Realm.MongoDBCollection The remote MongoDB collection.