Guest User

Untitled

a guest
Feb 19th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. scala> DBObject("ccc" -> Map("aaa" -> "bbb"))
  2. res54: com.mongodb.casbah.commons.Imports.DBObject = { "ccc" : [ [ "aaa" , "bbb"]]}
  3.  
  4. scala> DBObject("ccc" -> new java.util.HashMap[String,AnyRef](){put("aaa","bbb")})
  5. res55: com.mongodb.casbah.commons.Imports.DBObject = { "ccc" : { "aaa" : "bbb"}}
Add Comment
Please, Sign In to add comment