Search
Setup for Free
DT
Drizzle Team
•
2y ago
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,794
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
await db.user.exists({where: {x: y} });
await db.user.exists({where: {x: y} });
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