README.md

This commit is contained in:
Gwendal Roué committed 2015-09-12 15:46:44 +02:00
1 parent d26fed9bbd
commit 8da196b614
1 file changed
+2 -3
+2 -3
View File
@@ -1014,11 +1014,10 @@ class Person : Record {
try dbQueue.inDatabase { db in
// Person?
let person = Person.fetchOne(db,
primaryKey: 123)
let person = Person.fetchOne(db, primaryKey: 123)
// Citizenship?
Citizenship.fetchOne(db,
let citizenship = Citizenship.fetchOne(db,
key: ["personId": 123, "countryIsoCode": "FR"])
}
```