-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
c/serverRelated to serverRelated to server
Milestone
Description
{} evaluating to true especially with where is confusing. We had cases which a frontend bug caused one variable to be undefined and the query was sent with where: {} instead of where: {key:value} and the entire table got cleared (acepsc).
#701 is also due to where: {} matching all the rows.
We need a special construct to match all the cases (that evaluates to true). An empty {} should mean nothing so that we can avoid accidental wiping out of the entire table using where: {}. This is bound to happen with frontend languages like JS and we should be a little forgiving there as it is our primary target.
ecthiender, pronevich, TAnas0, shahidhk, hibearpanda and 1 more
Metadata
Metadata
Assignees
Labels
c/serverRelated to serverRelated to server