From a304bc0eedd87600c38543cfc20edf1d087d2a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 27 Mar 2017 09:42:22 +0200 Subject: [PATCH] README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) 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):