Require a FILTER on DELETE and UPDATE?
See original GitHub issueThere was some discussion earlier about requiring FILTER on DELETE and UPDATE statements, to help prevent mishaps. FILTER true
could be used when operating on everything is actually desired.
(Relevant: https://www.youtube.com/watch?v=i_cVJgIz_Cs)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:14 (14 by maintainers)
Top Results From Across the Web
Filter function (action Hooks) for update and delete ...
Please provide me Filter function (action Hooks) for updating and delete appointment back-end. (1) I want to filter functions after updating appointments ...
Read more >Reapply a filter and sort, or clear a filter - Microsoft Support
To reapply a filter or sort, on the Home tab, in the Editing group, click Sort & Filter, and then click Reapply.
Read more >Filter does not update list when I delete chars - Stack Overflow
I believe your problem is that you are essentially removing objects from your original list when you start entering characters.
Read more >SQL WHERE Clause to Filter Rows for SELECT, UPDATE and ...
In this article we take a look at the SQL WHERE clause and how this can be used to filter rows for selecting,...
Read more >Excel Filter: How to add, use and remove - Ablebits
Learn how to filter data in Excel in different ways: create filter ... or delete data in filtered cells, Excel AutoFilter does not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think we should only do this if X in
DELETE X
is a universal set.That is, the following should be legal:
or
See https://github.com/edgedb/edgedb/pull/1773#issuecomment-722615788 for the planned approach to handling this.