26 inline BSONObjBuilder& BSONObjBuilderValueStream::operator<<( T value ) {
27 _builder->
append(_fieldName, value);
28 _fieldName = StringData();
32 template<
class T>
inline
33 BSONObjBuilder& Labeler::operator<<( T value ) {
34 s_->subobj()->
append( l_.l_, value );
BSONObjBuilder & append(const BSONElement &e)
append element to the object we are building
Definition bsonobjbuilder.h:123
the main MongoDB namespace
Definition bulk_operation_builder.h:24