Closed
Description
I am encountering an error when using db.scalar
fatal error: 'try!' expression unexpectedly raised an error: database is locked: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-700.1.101.15/src/swift/stdlib/public/core/ErrorType.swift, line 50
It happens because it acceses a database that is also accesed from another application. When I what to use try with the scalar Xcode tells me that no error will be thrown.
I am now using a select all and making the count programatically and it doesn't crash anymore. I also have a busyhandler.
Is it recommended using scalar?
Metadata
Metadata
Assignees
Labels
No labels