public function getDbFields($table, $tablePrefix = null, $filter = 0)
{
is_null($tablePrefix) && ($tablePrefix = $this->tablePrefix);
$one = $this->runMongoQuery($tablePrefix . $table, [], ['limit' => 1]);
return empty($one) ? [] : array_keys($one[0]);
}