AQTType

public enum AQTType: Int32

The types we support as raw Int32 values

The raw values are defined in https://docs.mongodb.com/manual/reference/operator/query/type/#op._S_type

  • -

    Declaration

    Swift

    case precisely
  • A double

    Declaration

    Swift

    case double = 1
  • A string

    Declaration

    Swift

    case string = 2
  • A Document I.E. ordered Dictionary

    Declaration

    Swift

    case document = 3
  • A Document as Array

    Declaration

    Swift

    case array = 4
  • Binary data

    Declaration

    Swift

    case binary = 5
  • A 12-byte unique ObjectId

    Declaration

    Swift

    case objectId = 7
  • A booelan

    Declaration

    Swift

    case boolean = 8
  • NSDate represented as UNIX Epoch time

    Declaration

    Swift

    case dateTime = 9
  • Null

    Declaration

    Swift

    case null = 10
  • A regex with options

    Declaration

    Swift

    case regex = 11
  • JavaScript Code

    Declaration

    Swift

    case jsCode = 13
  • JavaScript code executed within a scope

    Declaration

    Swift

    case jsCodeWithScope = 15
  • Int32

    Declaration

    Swift

    case int32 = 16
  • Timestamp as milliseconds since UNIX Epoch Time

    Declaration

    Swift

    case timestamp = 17
  • Int64

    Declaration

    Swift

    case int64 = 18
  • High precision decimal

    Declaration

    Swift

    case decimal128 = 19
  • The min-key

    Declaration

    Swift

    case minKey = -1
  • The max-key

    Declaration

    Swift

    case maxKey = 127