You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.
I have both MongoDB and MongoCollection instances instantiated and initialized when the phone had internet connection. Later, when internet connection is gone I try to update a collection via
colleciton.update(...)
How do I check if that update operation is successful? As I can see the update method returns MongoResult, which has isSuccessful, but MongoResult.isSuccessful is always true for me if nothing is updated in the database and the phone didn't even have internet connection
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I have both MongoDB and MongoCollection instances instantiated and initialized when the phone had internet connection. Later, when internet connection is gone I try to update a collection via
colleciton.update(...)
How do I check if that update operation is successful? As I can see the
update
method returns MongoResult, which hasisSuccessful
, butMongoResult.isSuccessful
is always true for me if nothing is updated in the database and the phone didn't even have internet connectionThe text was updated successfully, but these errors were encountered: