PGType
public enum PGType : UInt32, CaseIterablesupported postgresql data types
- 
                  
                  unsupported data types have a native data type of string and return a string represenation of the value, or an empty string DeclarationSwift case unsupported = 0
- 
                  
                  uses native type of .bool DeclarationSwift case bool = 16
- 
                  
                  uses native type of .int DeclarationSwift case int2 = 21
- 
                  
                  uses native type of .int DeclarationSwift case int4 = 23
- 
                  
                  uses native type of .int DeclarationSwift case int8 = 20
- 
                  
                  uses native type of .double DeclarationSwift case float = 700
- 
                  
                  uses native type of .double DeclarationSwift case double = 701
- 
                  
                  not yet supported, but planned DeclarationSwift case numeric = 1700
- 
                  
                  uses native type of .string DeclarationSwift case char = 18
- 
                  
                  uses native type of .string DeclarationSwift case name = 19
- 
                  
                  uses native type of .string DeclarationSwift case text = 25
- 
                  
                  uses native type of .string DeclarationSwift case bpchar = 1042
- 
                  
                  uses native type of .string DeclarationSwift case varchar = 1043
- 
                  
                  uses native type of .string DeclarationSwift case json = 114
- 
                  
                  uses native type of .string DeclarationSwift case xml = 142
- 
                  
                  uses native type of .date DeclarationSwift case date = 1082
- 
                  
                  uses native type of .date DeclarationSwift case time = 1083
- 
                  
                  uses native type of .date DeclarationSwift case timetz = 1266
- 
                  
                  uses native type of .date DeclarationSwift case timestamp = 1114
- 
                  
                  uses native type of .date DeclarationSwift case timestamptz = 1184
- 
                  
                  uses native type of .data DeclarationSwift case bytea = 17
- 
                  
                  the native type (int, string, date) used for this PGtype DeclarationSwift public var nativeType: NativeType { get }
 View on GitHub
View on GitHub PGType Enumeration Reference
        PGType Enumeration Reference