mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
CHANGELOG.md
This commit is contained in:
1 parent
8498dd927f
commit
e9cca9657f
1 file changed
+2
-2
+2
-2
@@ -14,13 +14,13 @@ Released April 8, 2016
|
||||
try dbQueue.execute("INSERT ...")
|
||||
let person = Person.fetchOne(dbQueue, key: 1)
|
||||
|
||||
// Use an explicit DatabaseQueue or DatabasePool method instead:
|
||||
// Always use an explicit DatabaseQueue or DatabasePool method instead:
|
||||
try dbQueue.inDatabase { db in
|
||||
try db.execute("INSERT ...")
|
||||
let person = Person.fetchOne(db, key: 1)
|
||||
}
|
||||
|
||||
// When simply extract values:
|
||||
// Extract values:
|
||||
let person = dbQueue.inDatabase { db in
|
||||
Person.fetchOne(db, key: 1)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user