RLMMongoDatabase
Objective-C
@interface RLMMongoDatabase : NSObject
Swift
@_nonSendable(_assumed) class RLMMongoDatabase : NSObject, @unchecked Sendable
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`.
See also
-
The name of this database
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull name;Swift
var name: String { get } -
Gets a collection.
Declaration
Objective-C
- (nonnull RLMMongoCollection *)collectionWithName:(nonnull NSString *)name;Swift
func collection(withName name: String) -> RLMMongoCollectionParameters
nameThe name of the collection to return @returns The collection
View on GitHub
Install in Dash