I'm trying to query a database, to see if it contains records in a certain table, using SQLite.Swift library, for Swift 2.0.
The QueryType class has the exists extension, since this returns a Select<Bool>, I do not know how to use it.
Currently I am using count, as a workaround, but since I do not need the number of records, this is potentially a performance issue.
Aucun commentaire:
Enregistrer un commentaire