diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-05-05 15:39:30 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-05-12 10:43:36 -0400 |
commit | 51fc9b997cd756ff75e859e66ad9ddc347202d40 (patch) | |
tree | f9ab992f1aca502f44fbe2df810128242f125ffa /src/mongo/idl | |
parent | 107b0bdf954bed554cf74a69a3fec268ac00886b (diff) | |
download | mongo-51fc9b997cd756ff75e859e66ad9ddc347202d40.tar.gz |
SERVER-29106 use IDL in shardCollection (in prep for moving shardCollection to the config server)
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 015e4786cfe..51d41957dc2 100644 --- a/src/mongo/idl/basic_types.idl +++ b/src/mongo/idl/basic_types.idl @@ -33,6 +33,16 @@ types: cpp_type: "std::int32_t" deserializer: "mongo::BSONElement::_numberInt" + safeInt64: + bson_serialization_type: + - long + - int + - decimal + - double + description: "Accepts any numerical type within int64 range" + cpp_type: std::int64_t + deserializer: "mongo::BSONElement::numberInt" + long: bson_serialization_type: long description: "A BSON 64-bit integer" |