| 596 | REGISTER_UPDATE_OPERATOR(ExtUpdateOperatorPop, "$pop"); |
| 597 | |
| 598 | DataValue fullValueFromElement(bson::BSONElement element) { |
| 599 | if (element.type() == bson::Object) |
| 600 | return DataValue(element.Obj()); |
| 601 | else if (element.type() == bson::Array) |
| 602 | return DataValue(bson::BSONArray(element.Obj())); |
| 603 | else |
| 604 | return DataValue(element); |
| 605 | } |
| 606 | |
| 607 | ACTOR static Future<Void> doPullActor(Reference<IReadWriteContext> cx, |
| 608 | Standalone<StringRef> path, |
no test coverage detected