protected function prepareTable($table, $schema = null, $alias = null, $escapeChar = null)
{
$table = $this->escape($table, $escapeChar);
// Schema
if (!empty($schema)) {
$table = $this->escapeSchema($schema, $escapeChar) . '.' . $table;
}
// Alias
if (!empty($alias)) {
$table .= ' ' . $this->escape($alias, $escapeChar);
}
return $table;
}