README.md

This commit is contained in:
Gwendal Roué committed 2015-07-06 15:24:36 +02:00
1 parent 3345e5b82f
commit a5bcc1d964
1 file changed
+2 -4
+2 -4
View File
@@ -53,7 +53,7 @@ SQLite API:
- [Fetch Queries](#fetch-queries)
- [Swift Enums](#swift-enums)
- [Custom Types](#custom-types)
- [Statements](#statements)
- [Prepared Statements](#prepared-statements)
- [Error Handling](#error-handling)
Application tools:
@@ -381,7 +381,7 @@ db.fetchOne(DBDate.self, "SELECT ...", bindings: ...) // DBDate?
```
## Statements
## Prepared Statements
SQLite supports **Prepared Statements** that can be reused.
@@ -423,8 +423,6 @@ try dbQueue.inDatabase { db in
}
```
Note that the `Database.selectStatement()` function is the **only** function of GRDB.swift that may throw an error when building a SELECT statement. All other fetching functions prefer dying in a loud and verbose crash when given an invalid SELECT statement.
## Error Handling