Skip to content

Find Query - test if column is null #3483

@elvince

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,

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