Classes

The following classes are available globally.

  • BSONDecoder facilitates the decoding of BSON into semantic Decodable types.

    See more

    Declaration

    Swift

    public class BSONDecoder
  • BSONEncoder facilitates the encoding of Encodable values into BSON.

    See more

    Declaration

    Swift

    public class BSONEncoder
  • A MongoDB collection.

    See more

    Declaration

    Swift

    public class MongoCollection<T> where T : Decodable, T : Encodable
  • A class encapsulating a mongoc_bulk_operation_t.

    Declaration

    Swift

    public class BulkWriteOperation : Operation
  • A MongoDB cursor.

    See more

    Declaration

    Swift

    public class MongoCursor<T> : Sequence, IteratorProtocol where T : Decodable, T : Encodable
  • A class to represent a MongoDB read concern.

    See more

    Declaration

    Swift

    public class ReadConcern : Codable
  • A class to represent a MongoDB write concern.

    See more

    Declaration

    Swift

    public class WriteConcern : Codable