How to check if is not null

Hello,
await db.query.users.findFirst({where: (users, { eq }) => eq(users.name, 'test')});

i want to find all users where name is not null. How to do in this situation?
Was this page helpful?