DataLireCoder swift package
This commit is contained in:
8
Sources/DLCEncoder/Protocols/ValueEncoder.swift
Normal file
8
Sources/DLCEncoder/Protocols/ValueEncoder.swift
Normal file
@@ -0,0 +1,8 @@
|
||||
import Foundation
|
||||
import DataLiteCore
|
||||
|
||||
public protocol ValueEncoder: Encoder {
|
||||
func encodeNil() throws
|
||||
func encodeDate(_ date: Date) throws
|
||||
func encode<T: SQLiteRawBindable>(_ value: T) throws
|
||||
}
|
||||
Reference in New Issue
Block a user