Skip to content

Commit 8e152e7

Browse files
committed
Fix README about dateStrategy
1 parent 3302e8e commit 8e152e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ Dates can be stored in the formats supported by SQLite. Typically this means:
129129

130130
```swift
131131
// Make all dates in Restructure julian
132-
restructure.arrayStrategy = .real
132+
restructure.dateStrategy = .real
133133

134134
// Make a specific statement use epoch
135-
statement.arrayStrategy = .integer
135+
statement.dateStrategy = .integer
136136

137137
// Get and fetch a date
138138
statement.bind(value: Date(), for: "date")

0 commit comments

Comments
 (0)