how to implement Comparison Operators #1292
Unanswered
miertschink
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to implement comparison operators like greater than (gt) and less then (lt).
I already started to implement something, but wondering if there wasn't anybody before who want to do sth like this.
Therefor I want to ask if I missed sth. in the docs or if there is really no build-in solution for this
What I want to achieve is that I can query a field of my ObjectType like this
field: {gt: 42}
like in MongoDB for example
As I said, I got an idea how to implement it somehow, but this is not a very special usecase, isn't it?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions