(self)
return self.admin.command("buildinfo",
                                  read_preference=ReadPreference.PRIMARY)
Get information about the MongoDB server we're connected to.
Get information about the MongoDB server we're connected to.
Get information about the MongoDB server we re connected to .
def server_info(self):
        """Get information about the MongoDB server we're connected to."""
        return self.admin.command("buildinfo",
                                  read_preference=ReadPreference.PRIMARY)
def server_info ( self ) : return self . admin . command ( "buildinfo" , read_preference = ReadPreference . PRIMARY )