You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to filter all records by adding where conditions? E.g.
I have a table where there is an is_deleted= boolean
I want Drizzle always to select the record with is_deleted = false.
So I need to declare something when creating my table in schema?
Other ORM, like hibernate use Where on entities directly https://docs.jboss.org/hibernate/orm/6.5/javadocs/org/hibernate/annotations/Where.html
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to filter all records by adding where conditions? E.g.
I have a table where there is an is_deleted= boolean
I want Drizzle always to select the record with is_deleted = false.
So I need to declare something when creating my table in schema?
Other ORM, like hibernate use Where on entities directly
https://docs.jboss.org/hibernate/orm/6.5/javadocs/org/hibernate/annotations/Where.html
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions