how to sort the query result
swifth opened this issue · comments
how to sort the query result? Only filter found. we want something like sortBy id desc, etc.
At the moment, ORDER BY
is not supported. Unfortunately I don't think I have got the time to anything about it before May. You are welcome to implement something and send a pull request, if you have the time :)
Until then, maybe you could use Swift's sort methods instead? They might be a bit slower, depending on your data/queries, but unless you have huge datasets, they will probably do the trick!
I had fork a branch : https://github.com/swifth/SwifthDB . and add support for order by and carthage support. and removed the multiple SQLiteDatatype definition. and fixed others bugs. But I have no idea how to merge into master.