RemoteMongoClient
public class RemoteMongoClient
A class which can be used to get database and collection objects which can be used to interact with MongoDB data via the Stitch MongoDB service.
-
Gets a
CoreRemoteMongoDatabase
instance for the given database name.Declaration
Swift
public func db(_ name: String) -> RemoteMongoDatabase
Parameters
name
the name of the database to retrieve