README.md

This commit is contained in:
Gwendal Roué committed 2015-10-28 19:05:50 +01:00
1 parent 52659c19c0
commit a5cd556d3a
1 file changed
+1 -5
+1 -5
View File
@@ -274,10 +274,6 @@ dbQueue.inDatabase { db in
Person.fetch(db, primaryKeys: ...) // DatabaseSequence<Person>
Person.fetchAll(db, primaryKeys: ...) // [Person]
Person.fetchOne(db, primaryKey: ...) // Person?
Person.fetch(db, keys: ...) // DatabaseSequence<Person>
Person.fetchAll(db, keys: ...) // [Person]
Person.fetchOne(db, key: ...) // Person?
}
```
@@ -1367,7 +1363,7 @@ class Person {
### Fetching Records
You can fetch **sequences**, **arrays**, or **single** records with raw SQL queries, by primary key, or by any key:
You can fetch **sequences**, **arrays**, or **single** records with raw SQL queries, or by key:
```swift
dbQueue.inDatabase { db in