Skip to content

Find Query - test if column is null #3483

Closed

Description

@elvince

Steps to reproduce

Create a feather app with knex.
Create a shema with a nullable/optional column

  • optId: Type.Optional(Type.Number()),

Query to filter all row where the optional column is null

Expected behavior

Get the resutls

Actual behavior

Can't it to work at all.
$ne: do not accept null value
If I set it to undefined, I have a binding error in knex.

Could you please help to create this query?
I read the docs and I can't get any explanation on how to write this kind of query.

Thanks,

Activity

  1. locked and limited conversation to collaborators on May 10, 2024
  2. converted this issue into a discussion #3484 on May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions