BSONCode

public struct BSONCode : Equatable, Hashable

A struct to represent the BSON Code type.

  • A string containing Javascript code.

    Declaration

    Swift

    public let code: String
  • Initializes a BSONCode with an optional scope value.

    Declaration

    Swift

    public init(code: String)