powered by
mongo.bson.buffer.append.regex()
mongo.bson.buffer.append()
mongo.bson.buffer.append.list()
mongo.regex.create(pattern, options = "")
mongo.bson.buffer.append
mongo.bson.buffer.append.regex
mongo.bson.buffer.append.list
buf <- mongo.bson.buffer.create() regex <- mongo.regex.create("acme.*corp", options="i") mongo.bson.buffer.append.regex(buf, "MatchAcme", regex) b <- mongo.bson.from.buffer(buf)
Run the code above in your browser using DataLab