© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Exclude results with empty relation - Drizzle Team
DT
Drizzle Team
•
16mo ago
•
12 replies
GT
Exclude results with empty relation
I tried using
isNotNull
isNotNull
to filter out the results that doesn
't has any value in
availabilities
availabilities
relation
, but didn
't worked that way
, I
'm sure I
'm missing an easier way of doing it
.
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,959
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Filter Empty Relations out
DT
Drizzle Team / help
14mo ago
Inserting with Relation
DT
Drizzle Team / help
3y ago
Select with relation
DT
Drizzle Team / help
3y ago
How can I reference the RelationalQueryBuilder and RelationalQuery types?
DT
Drizzle Team / help
3y ago