We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4cb77e commit 748495dCopy full SHA for 748495d
Documentation/Index.md
@@ -1088,7 +1088,7 @@ Once defined, we can use these types directly in SQLite statements.
1088
``` swift
1089
let published_at = Expression<NSDate>("published_at")
1090
1091
-let published = posts.filter(published_at <= Date())
+let published = posts.filter(published_at <= NSDate())
1092
// extension where Datatype == String:
1093
// SELECT * FROM "posts" WHERE "published_at" <= '2014-11-18 12:45:30'
1094
// extension where Datatype == Int:
0 commit comments