How to structure match() with semi-complex conditions

Trying to do
select * from profiles where id = '1234' and status in (true,null);

I tried
const { data: requests, error: rErr } = await supabaseClient
        .from('friends')
        .select(
            'id, accepted, sender:user_id (id, name, bio, avatar_url), recipient:friend_id (id, name, bio, avatar_url)'
        )
        .match({ friend_id: session.user.id, accepted: null });

But I get the error
null {
  code: '22P02',
  details: null,
  hint: null,
  message: 'invalid input syntax for type boolean: "null"'
}

So is there some special where to specify a column is null/true/false within match()? Can't find it in the docs...

¯\_(ツ)_/¯
Was this page helpful?