Open azaddhirajkumar opened 2 months ago
By default, a document is immutable when it is read from the database. The toMutable() method should create an updatable instance of the document.
toMutable()
We should have a toMutable() method in Document just like we have for swift: https://docs.couchbase.com/couchbase-lite/current/swift/document.html#mutability
@azaddhirajkumar please update this to include more information about the issue.
By default, a document is immutable when it is read from the database. The
toMutable()
method should create an updatable instance of the document.We should have a toMutable() method in Document just like we have for swift: https://docs.couchbase.com/couchbase-lite/current/swift/document.html#mutability