mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
README.md
This commit is contained in:
1 parent
5ea9f315c2
commit
6d23c8262d
1 file changed
+3
-3
@@ -94,9 +94,9 @@ You can load row **lazy sequences**, **arrays**, or a **single** row:
|
||||
|
||||
```swift
|
||||
dbQueue.inDatabase { db in
|
||||
db.fetchRows(String.self, "SELECT ...") // AnySequence[Row]
|
||||
db.fetchAllRows(String.self, "SELECT ...") // [Row]
|
||||
db.fetchOneRow(String.self, "SELECT ...") // Row?
|
||||
db.fetchRows("SELECT ...") // AnySequence[Row]
|
||||
db.fetchAllRows("SELECT ...") // [Row]
|
||||
db.fetchOneRow("SELECT ...") // Row?
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user