Bug: UPDATE does not respect WHERE is NOT NONE in Aggregate Table when Old Record IS NOT NONE #3966
Open
2 tasks done
Labels
bug
Something isn't working
Describe the bug
If you define an aggregate table using WHERE something IS NONE, it works fine unless you try to UPDATE a property that was previously NOT NONE to a NONE property. So, it looks like the WHERE clause is not applied or is applied at the wrong place in the logic. I have prepared a short script to reproduce this.
Steps to reproduce
OUTPUT:
Expected behaviour
The UPDATE should execute without errors because the aggregate view has a WHERE value IS NOT NONE clause.
SurrealDB version
v1.4.2
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: