Transaction with filtered positional operator to update an object field in an array

I am trying to use a transaction session with filtered positional operator $[] to select a specific object in the array, which requires me to use arrayFilters object as the third parameter in db.collection.updateOne(, , ). How do I pass the {session} to updateOne?

Hey @Anil_Menawat,

Could you please share the example document and the query you are trying to execute? This will provide the community with more insight to understand the issue. Additionally, please share the expected output so that the community can assist you more effectively.