20. A JavaScript Database
$ mongodb-linux-1.0/bin/mongo
MongoDB shell version: 1.0.0
url: test
connecting to: test
type "help" for help
>
21. JSON and BSON
Strict JSON types:
{
x : null, y : true, z : 123, w : "xyz",
a : { b : 1 }, c : [1, 2, 3]
}
Mongo JSON adds:
{
ts : new Date(),
query : /regex/ig,
_id : new ObjectId()
}