|
Hi mayanktyagi1992,
Thank you for the additional information. MongoDB 3.2.10 does not support the nameOnly parameter. As noted in our documentation, this functionality was introduced in MongoDB 3.2.13. If you would like to use this parameter, please upgrade to the latest version of MongoDB 3.2 or 3.4.
Thank you,
Thomas
|
|
Here is the output of the command :-
db.runCommand( { buildInfo: 1 } )
|
{
|
"version" : "3.2.10",
|
"gitVersion" : "79d9b3ab5ce20f51c272b4411202710a082d0317",
|
"modules" : [ ],
|
"allocator" : "tcmalloc",
|
"javascriptEngine" : "mozjs",
|
"sysInfo" : "deprecated",
|
"versionArray" : [
|
3,
|
2,
|
10,
|
0
|
],
|
"openssl" : {
|
"running" : "OpenSSL 1.0.2g 1 Mar 2016",
|
"compiled" : "OpenSSL 1.0.2g-fips 1 Mar 2016"
|
},
|
"buildEnvironment" : {
|
"distmod" : "ubuntu1604",
|
"distarch" : "x86_64",
|
"cc" : "/opt/mongodbtoolchain/v2/bin/gcc: gcc (GCC) 5.4.0",
|
"ccflags" : "-fno-omit-frame-pointer -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp",
|
"cxx" : "/opt/mongodbtoolchain/v2/bin/g++: g++ (GCC) 5.4.0",
|
"cxxflags" : "-Wnon-virtual-dtor -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++11",
|
"linkflags" : "-fPIC -pthread -Wl,-z,now -rdynamic -fuse-ld=gold -Wl,-z,noexecstack -Wl,--warn-execstack",
|
"target_arch" : "x86_64",
|
"target_os" : "linux"
|
},
|
"bits" : 64,
|
"debug" : false,
|
"maxBsonObjectSize" : 16777216,
|
"storageEngines" : [
|
"devnull",
|
"ephemeralForTest",
|
"mmapv1",
|
"wiredTiger"
|
],
|
"ok" : 1
|
}
|
|