Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering for null values #23

Open
tinawu0603 opened this issue Aug 19, 2022 · 0 comments
Open

Filtering for null values #23

tinawu0603 opened this issue Aug 19, 2022 · 0 comments

Comments

@tinawu0603
Copy link

Hello,

I am trying to write a GraphQL filter to filter for nulls.

{
  events(
    filter: {
     bookingId: { eq: null }
    }
  ) {
    id
    booking {
      id
    }
  }
}

But when I'm generating the filter expression, the SQL expression looks like "WHERE bookingId = 'null'" instead of bookingId = null without the single quotes.

Can this be fixed or can you point to where the toString is coming from?

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

No branches or pull requests

1 participant