socialpaymentsbv / query_builder

2 stars 2 forks source link

Allow sorting by any binding #16

Closed tomekowal closed 5 years ago

tomekowal commented 5 years ago

Closes #11

I've realised that the current API allows sorting only by fields in the base query. If there was a join, we could not sort. I've changed sorting to use the same mechanism as filtering: custom functions. I believe that makes the API more symmetric.