Home
last modified time | relevance | path

Searched refs:makeElementWithNewFieldName (Results 1 – 15 of 15) sorted by relevance

/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/update/
H A Dlog_builder.cpp91 mutablebson::Element elemToSet = _logRoot.getDocument().makeElementWithNewFieldName(name, val); in addToSetsWithNewFieldName()
104 mutablebson::Element elemToSet = _logRoot.getDocument().makeElementWithNewFieldName(name, val); in addToSetsWithNewFieldName()
H A Dupdate_array_node.cpp163 auto logElement = applyParams.logBuilder->getDocument().makeElementWithNewFieldName( in apply()
173 auto logElement = applyParams.logBuilder->getDocument().makeElementWithNewFieldName( in apply()
H A Dpush_node.cpp203 document.makeElementWithNewFieldName(StringData(), valuesToPush.front()); in insertElementsWithPosition()
236 document.makeElementWithNewFieldName(StringData(), valueToInsert); in insertElementsWithPosition()
H A Dpath_support.cpp305 mutablebson::Element leafElem = doc->makeElementWithNewFieldName(leafFieldName, value); in setElementAtPath()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/bson/mutable/
H A Ddocument.h409 Element makeElementWithNewFieldName(StringData fieldName, const BSONElement& elt);
427 Element makeElementWithNewFieldName(StringData fieldName, ConstElement elt);
H A Ddocument.cpp1331 Element replacement = _doc->makeElementWithNewFieldName(newName, *this); in rename()
1937 Element newValue = getDocument().makeElementWithNewFieldName(fieldName, value); in setValueBSONElement()
1978 Element newValue = getDocument().makeElementWithNewFieldName(fieldName, setFrom); in setValueElement()
2605 Element Document::makeElementWithNewFieldName(StringData fieldName, const BSONElement& value) { in makeElementWithNewFieldName() function in mongo::mutablebson::Document
2648 Element Document::makeElementWithNewFieldName(StringData fieldName, ConstElement element) { in makeElementWithNewFieldName() function in mongo::mutablebson::Document
H A Dmutable_bson_test.cpp1712 newElement = target.makeElementWithNewFieldName("C", source.root()["c"]); in TEST()
1751 newElement = doc.makeElementWithNewFieldName("C", doc.root()["c"]); in TEST()
1777 mmb::Element newElement = target.makeElementWithNewFieldName("X", source.root()); in TEST()
1794 mmb::Element newElement = doc.makeElementWithNewFieldName("X", doc.root()); in TEST()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/ops/
H A Dmodifier_set.cpp206 mutablebson::Element elemToSet = doc.makeElementWithNewFieldName(lastPart, _val); in apply()
269 doc.makeElementWithNewFieldName(_fieldRef.dottedField(), _val); in log()
H A Dmodifier_rename.cpp244 doc.makeElementWithNewFieldName(lastPart, _preparedState->fromElemFound); in apply()
286 doc.makeElementWithNewFieldName(setPath, _preparedState->fromElemFound.getValue()); in log()
H A Dmodifier_compare.cpp162 mutablebson::Element elemToSet = doc.makeElementWithNewFieldName(lastPart, _val); in apply()
H A Dmodifier_pop.cpp191 doc.makeElementWithNewFieldName(_fieldRef.dottedField(), _preparedState->pathFoundElement); in log()
H A Dmodifier_push.cpp548 _preparedState->doc.makeElementWithNewFieldName(StringData(), eachItem); in apply()
569 _preparedState->doc.makeElementWithNewFieldName(StringData(), _val); in apply()
H A Dmodifier_pull_all.cpp233 doc.makeElementWithNewFieldName(_fieldRef.dottedField(), _preparedState->pathFoundElement); in log()
H A Dmodifier_pull.cpp258 mb::Element currCopy = doc.makeElementWithNewFieldName(StringData(), curr.getValue()); in log()
H A Dmodifier_add_to_set.cpp375 mb::Element currCopy = doc.makeElementWithNewFieldName(StringData(), curr.getValue()); in log()