# Bug 3426: `null` should not be allowed in `where`, even when field type is null

- Status: closed
- Project: Zero
- Creator: @aboodman
- Assignee: @aboodman
- Labels: zero
- Created: 2025-01-16T05:48:57Z
- Modified: 2025-01-25T10:01:26Z
- URL: https://bugs.rocicorp.dev/p/zero/issue/3426

## Description

We agreed you should have to use `IS` and  `IS NOT`, right?

User report: https://discord.com/channels/830183651022471199/1329265076024115252/1329327180056104962

## Comments (4)

### @aboodman — 2025-01-19T16:24:28Z

It happens when the column type includes `optional: true`

### @aboodman — 2025-01-19T16:38:31Z

Started working on this... easy fix.

### @aboodman — 2025-01-21T08:42:06Z

WIP: https://github.com/rocicorp/mono/pull/3576

### @aboodman — 2025-01-25T10:01:26Z

This has been released in 0.12: https://discord.com/channels/830183651022471199/1332646282245701662
