mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
README.md
This commit is contained in:
1 parent
547fe7215c
commit
b233bfedd1
1 file changed
+1
-1
@@ -180,7 +180,7 @@ dbQueue.inDatabase { db in
|
||||
// Use Swift type inference to fetch the data type you need:
|
||||
let bookCount: Int = row.value(named: "bookCount")!
|
||||
let bookCount64: Int64 = row.value(named: "bookCount")!
|
||||
let hasBooks: Bool = row.value(named: "bookCount")!
|
||||
let hasBooks: Bool = row.value(named: "bookCount")! // 0 is false
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user