SwiftstructSonicFoundation

struct SonicFoundation.SQLDynamicValue

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 12

  1. varstatic var dataType: SonicFoundation.SQLDataType { get }
  2. fieldlet box: SonicFoundation.SQLDynamicValue.Box+0x0
  3. funcbind(to: OpaquePointer, index: Int) throws -> ()
  4. funcresult(for: OpaquePointer) throws -> ()
  5. initinit(functionArgument: OpaquePointer) throws -> SonicFoundation.SQLDynamicValue
  6. initinit(raw: OpaquePointer) throws -> SonicFoundation.SQLDynamicValue
  7. initinit(statement: OpaquePointer, index: Int) throws -> SonicFoundation.SQLDynamicValue
  8. varvar datatype: SonicFoundation.SQLDataType { get }
  9. varvar debugSQL: SonicFoundation.LiteralSQL { get }
  10. varvar description: String { get }
  11. varvar nativeValue: SonicFoundation._SQLNativeValue { get }
  12. varvar value: OpaquePointer { get }
struct SQLDynamicValue {
    class Box {
        let value: Swift.OpaquePointer
    }
    let box: SonicFoundation.SQLDynamicValue.Box

    init(functionArgument: Swift.OpaquePointer) throws
    init(raw: Swift.OpaquePointer) throws
    init(statement: Swift.OpaquePointer, index: Swift.Int) throws

    var datatype: SonicFoundation.SQLDataType {
        get
    }
    var debugSQL: SonicFoundation.LiteralSQL {
        get
    }
    var description: Swift.String {
        get
    }
    var nativeValue: any SonicFoundation._SQLNativeValue {
        get
    }
    var value: Swift.OpaquePointer {
        get
    }

    func bind(to: Swift.OpaquePointer, index: Swift.Int) throws
    func result(for: Swift.OpaquePointer) throws

    static var dataType: SonicFoundation.SQLDataType {
        get
    }
}