mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Documentation
This commit is contained in:
1 parent
b81f57f1c9
commit
e52a01abbe
1 file changed
+1
-1
@@ -209,7 +209,7 @@ SQLite creates the database file if it does not already exist. The connection is
|
||||
```swift
|
||||
// Execute database statements:
|
||||
try dbQueue.execute("CREATE TABLE pointOfInterests (...)")
|
||||
try PointOfInterest(...).insert(db)
|
||||
try PointOfInterest(...).insert(dbQueue)
|
||||
|
||||
// Isolate consecutive statements:
|
||||
try dbQueue.inDatabase { db in
|
||||
|
||||
Reference in new issue
Block a user