public function Sqlpgsql::query_format

8.0.x Sqlpgsql.php public Sqlpgsql::query_format($query)
7.x Sqlpgsql.php public Sqlpgsql::query_format($query)
master Sqlpgsql.php public Sqlpgsql::query_format($query)

Overrides SqlBase::query_format

File

lib/Drush/Sql/Sqlpgsql.php, line 91

Namespace

Drush\Sql

Class

Sqlpgsql

Code

public function query_format($query) {
  if (strtolower($query) == 'show tables;') {
    return PSQL_SHOW_TABLES;
  }
  return $query;
}