Skip to content

How to filter Where null #446

@baconcheese113

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions