$addToSet $each exception in casbah 2.6.2

262 Views Asked by At

After moving from casbah 2.6.1 to 2.6.2, I got the following exception for $addToSet $each update queries.

val s = Set(1,2,3)
$addToSet("ids") $each(s)

java.lang.NoSuchMethodException: com.mongodb.casbah.query.dsl.AddToSetOp$$anon$1.$each(scala.collection.Seq, com.mongodb.casbah.query.AsQueryParam)

Does anyone know what could have changed here?

0

There are 0 best solutions below