I have mongoDB 3.2 installed locally for Windows 7. I would like to find out its specific version (like is it 3.2.1, or 3.2.3 or...). How could I find it? If I open the database
From the Java API:
Document result = mongoDatabase.runCommand(new Document("buildInfo", 1)); String version = (String) result.get("version"); List versionArray = (List) result.get("versionArray");