diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2020-12-15 13:41:29 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-12-15 20:17:40 +0000 |
commit | 0c132588e9907c7b123f986a61c3a43cd087381f (patch) | |
tree | a83d514dff0689f97e7d9db7b503912767ec9cc9 /src/mongo/idl | |
parent | c425bdcf1862d642460211fcf450664233a9e6d0 (diff) | |
download | mongo-0c132588e9907c7b123f986a61c3a43cd087381f.tar.gz |
SERVER-52545 Define listIndexes with IDL
Diffstat (limited to 'src/mongo/idl')
-rw-r--r-- | src/mongo/idl/basic_types.idl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mongo/idl/basic_types.idl b/src/mongo/idl/basic_types.idl index 6352fa9d4ab..a52fc202fe2 100644 --- a/src/mongo/idl/basic_types.idl +++ b/src/mongo/idl/basic_types.idl @@ -47,6 +47,16 @@ types: cpp_type: "std::int32_t" deserializer: "mongo::BSONElement::_numberInt" + safeInt: + bson_serialization_type: + - long + - int + - decimal + - double + description: "Accepts any numerical type within integer range" + cpp_type: "std::int32_t" + deserializer: "mongo::BSONElement::safeNumberInt" + safeInt64: bson_serialization_type: - long |