-
Hello everyone, I have an array of objects and would like to update the count of the object where categoryId = “menu2” and subCategoryId = “1”. in my mongodb i currently have two records in the array:
if i now execute the following method the object with categorieId “menu1” will be updated and not my menu2…
I am using the io.quarkus.mongodb.reactive.ReactiveMongoCollection. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
/cc @evanchooly, @loicmathieu |
Beta Was this translation helpful? Give feedback.
-
The filtered positional operator $[identifier] is working:
But shouldn't the other method also work? |
Beta Was this translation helpful? Give feedback.
The filtered positional operator $[identifier] is working:
But shouldn't the other method also work?