zenexity/Play-ReactiveMongo — pull request #31 by baloo (2013-05-17 10:23:40+00:00)
Title: Features/writermongo

Implement a JsPath for mongodb crud syntax

``` scala
(__ \ "foo" \ "bar").write[Int].writes(1)
```

will generate the following JsObject
``` javascript
{
"foo.bar":1
}
```

Which is pretty great if you wrap everything in another JsObject like:
```scala
Json.obj("$set" -> (__ \ "foo" \ "bar").write[Int].writes(1))
```

``` javascript
{
"$set": {
"foo.bar":1
}
}
```