mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
README.md
This commit is contained in:
1 parent
f6119e91c2
commit
e3f06b99d4
1 file changed
+2
-1
@@ -447,7 +447,7 @@ db.fetchAllRows("SELECT foo FROM bar")
|
||||
do {
|
||||
try db.update("INSERT INTO bar (foo) VALUE (?)", bindings: [1])
|
||||
} catch let error as SQLiteError {
|
||||
// The SQLite error code: 1
|
||||
// The SQLite result code: 1
|
||||
error.code
|
||||
|
||||
// The eventual SQLite message: "no such table: bar"
|
||||
@@ -461,6 +461,7 @@ do {
|
||||
}
|
||||
```
|
||||
|
||||
See [SQLite Result Codes](https://www.sqlite.org/rescode.html).
|
||||
|
||||
## Migrations
|
||||
|
||||
|
||||
Reference in new issue
Block a user