Open andersonfaria-hotmart opened 4 months ago
It'd be nice to execute all update options in update repositories like:
@Query("{}") @Update("{${'$'}set: {'productDetails.${'$'}[elem].isExcluded': false}}, {arrayFilters: [{'elem.id': ?0}]}") suspend fun deleteProductDetailById(productId: String): Int
But mongo repositories seems to not recognize arrayFilters.
Thank you @andersonfaria-hotmart for bringing this up - would be a nice enhancement.
It'd be nice to execute all update options in update repositories like:
But mongo repositories seems to not recognize arrayFilters.