Skip to content

How to filter Where null #446

Description

@baconcheese113

I'm using Prisma 1 with Prisma Binding and a Postgresql DB.

Is there a way to find rows where a field is null?

This is what I would expect, but doesn't appear to be supported:

prisma.query.matches({ where: { endedAt: null } }, info)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions