RLMMongoDatabase

@interface RLMMongoDatabase : NSObject

The RLMMongoDatabase represents a MongoDB database, which holds a group of collections that contain your data.

It can be retrieved from the RLMMongoClient.

Use it to get RLMMongoCollections for reading and writing data.

Note

Before you can read or write data, a user must log in`.

  • The name of this database

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull name;
  • Gets a collection.

    Declaration

    Objective-C

    - (nonnull RLMMongoCollection *)collectionWithName:(nonnull NSString *)name;

    Parameters

    name

    The name of the collection to return @returns The collection