-
Notifications
You must be signed in to change notification settings - Fork 2
Scalar Queries
Jeff Hurray edited this page Apr 25, 2016
·
2 revisions
Currently the only scalar query supported is count. This is a quicker operation than fetching all instances of a model and getting the count of the array.
let count = try Movie.count()In the future I would like to support a larger suite of aggregate functions like min, max, sum, and average.
SQLite.swiftsupports a variety of scalar queries. More information can be found here
SQLiteModel