| 669 | struct ExtUpdateOperatorPull { |
| 670 | static const char* name; |
| 671 | static Future<Void> execute(Reference<IReadWriteContext> cx, |
| 672 | StringRef const& path, |
| 673 | bson::BSONElement const& element) { |
| 674 | std::set<DataValue> only; |
| 675 | DataValue dv = fullValueFromElement(element); |
| 676 | only.insert(dv); |
| 677 | return doPullActor(cx, path, only); |
| 678 | } |
| 679 | }; |
| 680 | REGISTER_UPDATE_OPERATOR(ExtUpdateOperatorPull, "$pull"); |
| 681 |
nothing calls this directly
no test coverage detected