mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Documentation
This commit is contained in:
1 parent
111688ff18
commit
d2f3f9d1b5
1 file changed
+1
-1
@@ -136,7 +136,7 @@ extension DatabasePool : DatabaseReader {
|
||||
// MARK: - Read From Database
|
||||
|
||||
/// Synchronously executes a read-only block in a protected dispatch queue,
|
||||
/// and returns its result.
|
||||
/// and returns its result. The block is wrapped in a transaction.
|
||||
///
|
||||
/// let persons = dbPool.read { db in
|
||||
/// Person.fetchAll(...)
|
||||
|
||||
Reference in new issue
Block a user