| 262 | struct ExtUpdateOperatorUnset { |
| 263 | static const char* name; |
| 264 | static Future<Void> execute(Reference<IReadWriteContext> cx, |
| 265 | StringRef const& path, |
| 266 | bson::BSONElement const& element) { |
| 267 | cx->getSubContext(path)->clearDescendants(); |
| 268 | cx->clear(path); |
| 269 | return Void(); |
| 270 | } |
| 271 | }; |
| 272 | REGISTER_UPDATE_OPERATOR(ExtUpdateOperatorUnset, "$unset"); |
| 273 |
nothing calls this directly
no test coverage detected