public function version($link = null)
{
$cursor = $this->getMaster()->executeCommand($this->getDbName(), new Command(['buildInfo' => 1]));
$cursor->setTypeMap(['root' => 'array', 'document' => 'array']);
$info = current($cursor->toArray());
return $info['version'];
}