ForerunnerDB
ForerunnerDB copied to clipboard
Update Against View Should Limit to View Query Data
When executing an update against a view it currently passed straight through to the underlying data source (e.g. collection). What we really want I think is that when you run CRUD against a view, the underlying collection is given the operation but including the view's limiting query so only items currently existing in the view will be modified by the CRUD call.
I believe this is preferred behaviour. It is counter-intuitive to run an update against a view and have it run against all items in the underlying collection.