Skip to content

Conversation

@kylef
Copy link
Member

@kylef kylef commented Mar 1, 2020

Support using Swift 5 KeyPath for ordering and filtering.

queryset
  .orderBy(\.createdAt, ascending: true)
  .filter(\.age >= 18)
  .exclude(\.name == "Kyle")

@kylef kylef merged commit c0b099b into master Mar 1, 2020
@kylef kylef deleted the kylef/keypath branch March 1, 2020 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants