README.md

This commit is contained in:
Gwendal Roué committed 2015-07-07 17:51:25 +02:00
1 parent 5778e15741
commit daceb22200
1 file changed
-1
-1
View File
@@ -682,7 +682,6 @@ There are four kinds of primary keys:
return .Columns("personID", "countryID")
}
}
db.fetchOne(Citizenship.self, primaryKey: [arthur.id, france.id])
db.fetchOne(Citizenship.self, primaryKey: ["personID": arthur.id, "countryID": france.id])
```