Cotton code
17 lines · 619 B · SwiftRaw
import CottonKit/// One engine read declared by a table, applied to readonly live columns./// The core authorizes its method and resolves the bindings from its own/// definition. No method supplied by an edited or imported definition is/// executed directly by the app.public struct LiveRecordRead: Codable, Hashable, Sendable {    public var method: String    public var bindings: [String: String]    public var fields: [String]    public init(method: String, bindings: [String: String], fields: [String]) {        self.method = method        self.bindings = bindings        self.fields = fields    }}