Skip to content

Commit 748495d

Browse files
committed
Fix documentation typo
A person can dream, but there is no Date yet. Signed-off-by: Stephen Celis <[email protected]>
1 parent f4cb77e commit 748495d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/Index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ Once defined, we can use these types directly in SQLite statements.
10881088
``` swift
10891089
let published_at = Expression<NSDate>("published_at")
10901090

1091-
let published = posts.filter(published_at <= Date())
1091+
let published = posts.filter(published_at <= NSDate())
10921092
// extension where Datatype == String:
10931093
// SELECT * FROM "posts" WHERE "published_at" <= '2014-11-18 12:45:30'
10941094
// extension where Datatype == Int:

0 commit comments

Comments
 (0)