Skip to content

Is supported query operators with sql database input handler? #1629

Answered by ardatan
jarpz asked this question in General
Discussion options

You must be logged in to vote

The following should work

{
   getUser({ where: { age: ">18" }){ # equals to`SELECT id, username, age FROM user WHERE age > 18`
     id
     username
     age
   }
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jarpz
Comment options

@ardatan
Comment options

Answer selected by jarpz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants