Casbah Version: 2.8.0Mongo Casbah: nicht auflösen kann "++"
Das folgende Beispiel hier: http://api.mongodb.com/scala/casbah/2.0/tutorial.html#combining-multiple-dbobjects
ich unten als Import-Anweisungen.
import com.mongodb.casbah.AggregationOutput
import com.mongodb.casbah.Imports._
import com.mongodb.casbah.TypeImports._
import com.mongodb.casbah.commons.{MongoDBList, MongoDBObject}
Und unter ++
bekam Cannot resolve symbol ++
Fehler.
val basic = MongoDBObject(
"id" -> "123",
"project" -> "pp123"
)
val createdTime = MongoDBObject(
"createdTime" -> MongoDBObject(
"$exists" -> false
)
)
val query = basiC++ createdTime
Ich habe versucht, Google aber nicht finden viel, die official documentation nicht auch nicht helfen ...
Ich glaube, ich bin nur eine Importanweisung für ++
fehlt, aber ich weiß nicht Ich weiß, welcher zu importieren ist.
jetzt gelöst, danke viel :) – keypoint