mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
README.md
This commit is contained in:
1 parent
857b7e53d9
commit
a304bc0eed
1 file changed
+5
@@ -65,7 +65,12 @@ Open a [connection](#database-connections) to the database:
|
||||
|
||||
```swift
|
||||
import GRDB
|
||||
|
||||
// Simple database connection
|
||||
let dbQueue = try DatabaseQueue(path: "/path/to/database.sqlite")
|
||||
|
||||
// Enhanced multithreading based on SQLite's WAL mode
|
||||
let dbPool = try DatabasePool(path: "/path/to/database.sqlite")
|
||||
```
|
||||
|
||||
[Execute SQL statements](#executing-updates):
|
||||
|
||||
Reference in new issue
Block a user