diff --git a/README.md b/README.md index 6176cebb9..e137d5c1b 100644 --- a/README.md +++ b/README.md @@ -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):