So I need to reference particular subdocuments uniquely from items in my collection. For instance:
User = { \'name\': \'jim\', \'documents: [ {\
And here's how to do it in Clojure, assuming the use of congomongo:
(import org.bson.types.ObjectId) (str (ObjectId.)) ; => "12345xxxxx"