powered by
mongo.bson.buffer.append.oid(buf, name, value)
mongo.bson.buffer.append
buf <- mongo.bson.buffer.create() mongo.bson.buffer.append.oid(buf, "Now", mongo.oid.create()) b <- mongo.bson.from.buffer(buf)
Run the code above in your browser using DataLab