Update dependencies
This commit is contained in:
@@ -31,7 +31,7 @@ extension RowEncoder {
|
||||
try encoder.encode(value, for: key)
|
||||
}
|
||||
|
||||
private func encodeValue(from date: Date) -> SQLiteRawBindable {
|
||||
private func encodeValue(from date: Date) -> SQLiteBindable {
|
||||
switch strategy {
|
||||
case .deferredToDate:
|
||||
date
|
||||
|
||||
@@ -28,9 +28,9 @@ extension RowDecoder {
|
||||
/// - ``secondsSince1970Int``
|
||||
/// - ``secondsSince1970Double``
|
||||
public enum DateDecodingStrategy {
|
||||
/// Decode dates by using the implementation of the `SQLiteRawRepresentable` protocol.
|
||||
/// Decode dates by using the implementation of the `SQLiteRepresentable` protocol.
|
||||
///
|
||||
/// This strategy relies on the type’s conformance to `SQLiteRawRepresentable`
|
||||
/// This strategy relies on the type’s conformance to `SQLiteRepresentable`
|
||||
/// to decode the date value from SQLite data.
|
||||
case deferredToDate
|
||||
|
||||
|
||||
@@ -28,9 +28,9 @@ extension RowEncoder {
|
||||
/// - ``secondsSince1970Int``
|
||||
/// - ``secondsSince1970Double``
|
||||
public enum DateEncodingStrategy {
|
||||
/// Encode dates by using the implementation of the `SQLiteRawRepresentable` protocol.
|
||||
/// Encode dates by using the implementation of the `SQLiteRepresentable` protocol.
|
||||
///
|
||||
/// This strategy relies on the type’s conformance to `SQLiteRawRepresentable`
|
||||
/// This strategy relies on the type’s conformance to `SQLiteRepresentable`
|
||||
/// to encode the date value into a SQLite-compatible representation.
|
||||
case deferredToDate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user