Describe where statement for null children
Hello everyone. I have this code:
How to describe
where
statement, for get all category where children
is empty?1 Reply
I just replied to your question in the discussion. https://github.com/drizzle-team/drizzle-orm/discussions/1685
GitHub
How to describe where statement for null children? · drizzle-team d...
Hello everyone. I have this code: export type CategoryId = number & { __typeName: 'Category' }; export const categories = pgTable( 'categories', { id: uuid('id').$type&l...