* ValidateUpdateDocument is a wrapper around BsonUpdateDocument that * can be used to validate given update document. */
| 394 | * can be used to validate given update document. |
| 395 | */ |
| 396 | void |
| 397 | ValidateUpdateDocument(const bson_value_t *updateSpec, const bson_value_t *querySpec, |
| 398 | const bson_value_t *arrayFilters, const bson_value_t *variableSpec) |
| 399 | { |
| 400 | BsonUpdateMetadata metadata = { 0 }; |
| 401 | bool buildSourceDocOnUpsert = false; |
| 402 | BuildBsonUpdateMetadata(&metadata, updateSpec, querySpec, arrayFilters, |
| 403 | variableSpec, buildSourceDocOnUpsert); |
| 404 | } |
| 405 | |
| 406 | |
| 407 | /* |
no test coverage detected