Classes
The following classes are available globally.
-
A MongoDB Client.
See moreDeclaration
Swift
public class MongoClient
-
See moreBSONDecoder
facilitates the decoding of BSON into semanticDecodable
types.Declaration
Swift
public class BSONDecoder
-
See moreBSONEncoder
facilitates the encoding ofEncodable
values into BSON.Declaration
Swift
public class BSONEncoder
-
A MongoDB collection.
See moreDeclaration
Swift
public class MongoCollection<T> where T : Decodable, T : Encodable
-
A class encapsulating a
See moremongoc_bulk_operation_t
.Declaration
Swift
public class BulkWriteOperation
-
A MongoDB cursor.
See moreDeclaration
Swift
public class MongoCursor<T> : Sequence, IteratorProtocol where T : Decodable, T : Encodable
-
A MongoDB Database
See moreDeclaration
Swift
public class MongoDatabase
-
A utility class for libmongoc initialization and cleanup.
See moreDeclaration
Swift
public final class MongoSwift
-
A class to represent a MongoDB read concern.
See moreDeclaration
Swift
public class ReadConcern : Codable
-
A class to represent a MongoDB read preference.
See moreDeclaration
Swift
public final class ReadPreference
-
A class to represent a MongoDB write concern.
See moreDeclaration
Swift
public class WriteConcern : Codable