public function getTables()
{
$res = $this->query("\n\t\t\tSELECT TRIM(RDB\$RELATION_NAME),\n\t\t\t\tCASE RDB\$VIEW_BLR WHEN NULL THEN 'TRUE' ELSE 'FALSE' END\n\t\t\tFROM RDB\$RELATIONS\n\t\t\tWHERE RDB\$SYSTEM_FLAG = 0;");
$tables = [];
while ($row = $res->fetch(FALSE)) {
$tables[] = ['name' => $row[0], 'view' => $row[1] === 'TRUE'];
}
return $tables;
}