Closed sandermarechal closed 8 years ago
Empty examples are wrongly serialized to [] instead of {}. For example, in CollectionHandler->removeByExample(), if you pass an empty array() as the example document.
[]
{}
CollectionHandler->removeByExample()
array()
Should be fixed in the 2.7 and devel branches of the driver, and tag v2.7.1. Can you check if this fixes problem for you?
Works fine now, thank you!
Empty examples are wrongly serialized to
[]
instead of{}
. For example, inCollectionHandler->removeByExample()
, if you pass an emptyarray()
as the example document.