mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
README.md
This commit is contained in:
1 parent
f2678c12ff
commit
1e9291d135
1 file changed
+2
-2
@@ -315,7 +315,7 @@ As an example, let's define the `DBDate` type that stores NSDates as timestamps.
|
||||
```swift
|
||||
struct DBDate: SQLiteValueConvertible {
|
||||
|
||||
// MARK: - DBDate <-> NSDate conversion
|
||||
// NSDate conversion
|
||||
//
|
||||
// It is good to consistently use the Swift nil to represent the database
|
||||
// NULL: the date property is a non-optional NSDate, and the NSDate
|
||||
@@ -334,7 +334,7 @@ struct DBDate: SQLiteValueConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - DBDate <-> SQLiteValue conversion
|
||||
// SQLiteValue conversion
|
||||
//
|
||||
// Represents the date as a timestamp in the database
|
||||
|
||||
|
||||
Reference in new issue
Block a user