For example checkAndReplace:
...
If the id doesn't exist, the function returns false (no exception is thrown).
...
@return True if the condition is true for the document otherwise false
This means that in case the method returns false, there is no way to distinguish between a non-existing document and a false condition.
For example
checkAndReplace:This means that in case the method returns
false, there is no way to distinguish between a non-existing document and a false condition.