Skip to content

Conversation

gartmeier
Copy link

I want to add support for the range operator to django-rql, but I'm a little lost. I need help understanding the terminology (comp, logical), and I may have put everything in the wrong places.

The goal is to allow the following query string generated by javascript-rql:

const filter = {
  age: {
    $range: {
      max: 5,
      min: 9,
    },
  },
};
 
rql(filter); //'range(age,9,5)'

Please have a look and let me know if I need to change something or add additional tests.

@CLAassistant
Copy link

CLAassistant commented Jan 31, 2023

CLA assistant check
All committers have signed the CLA.

@ffaraone
Copy link
Contributor

Thank you @gartmeier for your contribution! Sorry if we are late in reviewing your contribution, we are very busy finishing the new release of our product. As soon as we can we will tell you something.

@gartmeier gartmeier requested a review from jonatrios December 5, 2023 16:39
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.

4 participants