Files
data-lite-coder/Sources/DLCDecoder/Protocols/RowDecoder.swift
2025-10-27 20:08:27 +02:00

12 lines
369 B
Swift

import Foundation
import DataLiteCore
package protocol RowDecoder: Decoder {
var count: Int? { get }
func decodeNil(for key: CodingKey) throws -> Bool
func decodeDate(for key: CodingKey) throws -> Date
func decode<T: SQLiteRepresentable>(_ type: T.Type, for key: CodingKey) throws -> T
func decoder(for key: CodingKey) throws -> any Decoder
}