diff --git a/README.md b/README.md index 4c0cceb9e..a98e20f74 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,8 @@ try dbQueue.inDatabase { db in row.value(named: "longitude")) print(title, favorite, coordinate) } + + let poiCount = Int.fetchOne(db, "SELECT COUNT(*) FROM pointOfInterests")! } ```