Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Is there a good way to do "exists" - Drizzle Team
DT
Drizzle Team
โข
3y ago
โข
19 replies
jakeleventhal
Is there a good way to do "exists"
Im using pg
. Is there a clean way to do a query analagous to something like
await db.user.exists({where: {x: y} });
await db.user.exists({where: {x: y} });
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Is there a way to do a "down" migration with Drizzle?
DT
Drizzle Team / help
2y ago
Is there a way to check/constrain a column?
DT
Drizzle Team / help
2y ago
Is there a way to create check constraint?
DT
Drizzle Team / help
3y ago
Is there currently a way to utilize onUpdate?
DT
Drizzle Team / help
3y ago