Extensions

The following extensions are available globally.

  • An extension of Date to represent the BSON Datetime type. Supports millisecond level precision.

    See more

    Declaration

    Swift

    extension Date: BSONValue
  • Extension to allow a UUID to be initialized from a Binary BSONValue.

    See more

    Declaration

    Swift

    extension UUID
  • An extension of NSRegularExpression to allow it to be initialized from a RegularExpression BSONValue.

    See more

    Declaration

    Swift

    extension NSRegularExpression