Skip to content

Support for BETWEEN / NOT BETWEEN predicates #46

@igdianov

Description

@igdianov

It would be nice to have to specify predicates using BETWEEN and NOT_BETWEEN for Integer, Dates, and String data types. For example:

Given: query { Books ( where: { id: {BETWEEN: [2, 5]}}) { select { id title} } }
Expected: {Humans={select=[ {id=1001}, {id=1002}, {id=1003}]}}

Given: query { Humans ( where: { id: {NOT_BETWEEN: [\"1001\", \"1003\"]}}) { select { id } } }
Expected: {Humans={select=[{id=1000}, {id=1004}]}}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions