mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
README.md
This commit is contained in:
1 parent
d96c301ec3
commit
f45d841038
1 file changed
+1
-1
@@ -642,7 +642,7 @@ class PersonsViewController: UITableViewController {
|
||||
override func viewWillAppear(animated: Bool) {
|
||||
super.viewWillAppear(animated)
|
||||
|
||||
let persons = dbQueue.inDatabase { db in
|
||||
persons = dbQueue.inDatabase { db in
|
||||
db.fetchAll(PersonViewModel.self,
|
||||
"SELECT persons.*, COUNT(*) AS bookCount " +
|
||||
"FROM persons " +
|
||||
|
||||
Reference in new issue
Block a user