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
but it is not working and I always get this error:
com.mongodb.WriteConcernException: Write failed with error code 2 and error message 'No array filter found for identifier 'o' in path 'orders.$[o].status''
at com.mongodb.operation.BaseWriteOperation.convertBulkWriteException(BaseWriteOperation.java:194)
at com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:155)
at com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:52)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:213)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:182)
at com.mongodb.DBCollection.executeWriteOperation(DBCollection.java:356)
at com.mongodb.DBCollection.update(DBCollection.java:588)
at com.mongodb.DBCollection.update(DBCollection.java:507)
at com.mongodb.DBCollection.update(DBCollection.java:482)
at com.mongodb.DBCollection.update(DBCollection.java:459)
at org.jongo.Update.with(Update.java:47)
Is there any fix I could do?
The text was updated successfully, but these errors were encountered:
I use Kotlin with jongo 1.5.0 in my project.
The data schema I am dealing with is like this:
I want to change the status field and add a new field inside a confirmation in one time with this way:
but it is not working and I always get this error:
Is there any fix I could do?
The text was updated successfully, but these errors were encountered: