From 0e7bee7a7983bc5f6aba7835859ee0de45ecf4f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 29 Jan 2016 08:17:58 +0100 Subject: [PATCH] README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9990a72da..043c29190 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,14 @@ It provides an SQL API and application tools. ### Usage -Connect to the database +Open a connection to the [database](#database-queues): ```swift import GRDB let dbQueue = try DatabaseQueue(path: "/path/to/database.sqlite") ``` -SQL usage +Execute [SQL queries](#executing-updates): ```swift try dbQueue.inDatabase { db in @@ -45,7 +45,7 @@ try dbQueue.inDatabase { db in } ``` -Records +Insert and fetch [Records](#records): ```swift struct PointOfInterest { @@ -73,7 +73,7 @@ try dbQueue.inDatabase { db in } ``` -Query Interface +Turn Swift into SQL with the [Query Interface](#the-query-interface): ```swift let title = SQLColumn("title")