diff options
author | Ted Tuckman <ted.tuckman@mongodb.com> | 2020-08-19 10:04:10 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-26 12:52:51 +0000 |
commit | 199df5ec6c6b8c0fc8e74dfad8a074547b79d3f2 (patch) | |
tree | cd86a8fb93148a0bcc221313681c58e52031661d /src/mongo/db/cst/c_node_validation.h | |
parent | 4dc5ad1c019849f2084bb9d30419d303679e6afe (diff) | |
download | mongo-199df5ec6c6b8c0fc8e74dfad8a074547b79d3f2.tar.gz |
SERVER-49927 Add $FieldPath to grammar
Diffstat (limited to 'src/mongo/db/cst/c_node_validation.h')
-rw-r--r-- | src/mongo/db/cst/c_node_validation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/cst/c_node_validation.h b/src/mongo/db/cst/c_node_validation.h index 33861adf83e..ff438cf7c82 100644 --- a/src/mongo/db/cst/c_node_validation.h +++ b/src/mongo/db/cst/c_node_validation.h @@ -44,4 +44,6 @@ enum class IsInclusion : bool { no, yes }; StatusWith<IsInclusion> validateProjectionAsInclusionOrExclusion(const CNode& projects); +Status validateVariableName(std::string varStr); + } // namespace mongo::c_node_validation |