improve field deletion in collection (#6823)

* added filter to updateMany when deleting field

* added test cases

* added changelog entry
This commit is contained in:
Manuel
2020-07-27 02:22:04 +02:00
committed by GitHub
parent 9ba9620bdf
commit 5b71993175
3 changed files with 44 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
### master
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.3.0...master)
- IMPROVE: Optimized deletion of class field from schema by using an index if available to do an index scan instead of a collection scan. [#6815](https://github.com/parse-community/parse-server/issues/6815). Thanks to [Manuel Trezza](https://github.com/mtrezza).
### 4.3.0
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.2.0...4.3.0)