README.md

This commit is contained in:
Gwendal Roué committed 2016-01-29 06:52:17 +01:00
1 parent 7b5415ad0d
commit 9ff1915e49
1 file changed
+1
+1
View File
@@ -75,6 +75,7 @@ let title = SQLColumn("title")
let favorite = SQLColumn("favorite")
let favoritePois = dbQueue.inDatabase { db in
// SELECT * FROM "pointOfInterests" WHERE "favorite" ORDER BY "title"
PointOfInterest.filter(favorite).order(title).fetchAll(db)
}
```