| 1002 | } |
| 1003 | |
| 1004 | bool shouldCreateRoot(std::string operatorName) { |
| 1005 | return operatorName == DocLayerConstants::SET || operatorName == DocLayerConstants::INC || |
| 1006 | operatorName == DocLayerConstants::MUL || operatorName == DocLayerConstants::CURRENT_DATE || |
| 1007 | operatorName == DocLayerConstants::MAX || operatorName == DocLayerConstants::MIN || |
| 1008 | operatorName == DocLayerConstants::PUSH || operatorName == DocLayerConstants::ADD_TO_SET; |
| 1009 | } |
| 1010 | |
| 1011 | ACTOR Future<Void> updateDocument(Reference<IReadWriteContext> cx, |
| 1012 | bson::BSONObj update, |
no outgoing calls
no test coverage detected