SwiftstructOnDeviceStorageCore

struct OnDeviceStorageCore.Row

Structure

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

Members 16

  1. funcstatic columns<A where A: Encodable>(for: A, in: OnDeviceStorageCore.QueryType?, userInfo: [CodingUserInfoKey : Any], includingNilValueColumns: Bool) throws -> [OnDeviceStorageCore.Expressible]
  2. funcstatic setters<A where A: Encodable>(for: A, userInfo: [CodingUserInfoKey : Any], forcingNilValueSetters: Bool) throws -> [OnDeviceStorageCore.Setter]
  3. fieldlet columns: [String : Int]+0x0
  4. fieldlet values: [OnDeviceStorageCore.Binding?]+0x8
  5. funcdecode<A where A: Decodable>(userInfo: [CodingUserInfoKey : Any]) throws -> A
  6. funcdecoder(userInfo: [CodingUserInfoKey : Any]) -> Decoder
  7. funcget<A where A: OnDeviceStorageCore.Value>(OnDeviceStorageCore.Expression<A>) throws -> A
  8. funcget<A where A: OnDeviceStorageCore.Value>(OnDeviceStorageCore.Expression<A?>) throws -> A?
  9. initinit([String : OnDeviceStorageCore.Value?]) -> OnDeviceStorageCore.Row
  10. subscriptsubscript.getter : <A where A: OnDeviceStorageCore.Value>(OnDeviceStorageCore.Expression<A>) -> A
  11. subscriptsubscript.getter : <A where A: OnDeviceStorageCore.Value>(OnDeviceStorageCore.Expression<A?>) -> A?
  12. typealiastypealias ID = Swift.Int
  13. varvar columnNames: [String] { get }
  14. varvar description: String { get }
  15. varvar id: Int { get }
  16. varvar json: [String : Any?] { get }
struct Row {
    enum CodingKeys {
        case columns
        case values
    }
    let columns: [Swift.String : Swift.Int]
    let values: [(any OnDeviceStorageCore.Binding)?]

    init(_: [Swift.String : (any OnDeviceStorageCore.Value)?])

    var columnNames: [Swift.String] {
        get
    }
    var description: Swift.String {
        get
    }
    var id: Swift.Int {
        get
    }
    var json: [Swift.String : Any?] {
        get
    }

    func get<A>(_: OnDeviceStorageCore.Expression<A>) throws -> A where A: OnDeviceStorageCore.Value
    func get<A>(_: OnDeviceStorageCore.Expression<A?>) throws -> A? where A: OnDeviceStorageCore.Value
    func decode<A>(userInfo: [Swift.CodingUserInfoKey : Any]) throws -> A where A: Swift.Decodable
    func decoder(userInfo: [Swift.CodingUserInfoKey : Any]) -> any Swift.Decoder

    subscript<A>(_: OnDeviceStorageCore.Expression<A>) -> A where A: OnDeviceStorageCore.Value {
        get
    }
    subscript<A>(_: OnDeviceStorageCore.Expression<A?>) -> A? where A: OnDeviceStorageCore.Value {
        get
    }

    static func columns<A>(for: A, in: (any OnDeviceStorageCore.QueryType)?, userInfo: [Swift.CodingUserInfoKey : Any], includingNilValueColumns: Swift.Bool) throws -> [any OnDeviceStorageCore.Expressible] where A: Swift.Encodable
    static func setters<A>(for: A, userInfo: [Swift.CodingUserInfoKey : Any], forcingNilValueSetters: Swift.Bool) throws -> [OnDeviceStorageCore.Setter] where A: Swift.Encodable
}