1

In the getting started tutorial, we use MongoDBObject.

But I can't find it in the api.

Also, I don't understand how we can run this command : import com.mongodb.casbah.Imports._, can't find it in the API neither...

thomas legrand
  • 493
  • 1
  • 5
  • 16

1 Answers1

1

Here's your Imports object: https://github.com/mongodb/casbah/blob/master/casbah-core/src/main/scala/Implicits.scala#L141

MongoDBObject comes from one of Casbah modules, casbah-commons. Check it out: https://github.com/mongodb/casbah/blob/master/casbah-commons/src/main/scala/MongoDBObject.scala

mfirry
  • 3,634
  • 1
  • 26
  • 36