There's a PR for KueryORM that adds order/offset/limit to the APIs. It's been lingering for a while, but I'm just curious whether others think of this API? Does it feel clean/extensible to you?
For reference, the original API's looked like this:
static func findAll(using db: Database? = nil, _ onCompletion: @escaping ([Self]?, RequestError?) -> Void)
And the new ones look like this:
static func findAll(using db: Database? = nil, order: Order..., offset: Int? = nil, limit: Int? = nil, _ onCompletion: @escaping ([Self]?, RequestError?) -> Void)