Cake\Database\Schema\PostgresSchema::listTablesSql PHP Method

listTablesSql() public method

{@inheritDoc}
public listTablesSql ( $config )
    public function listTablesSql($config)
    {
        $sql = 'SELECT table_name as name FROM information_schema.tables WHERE table_schema = ? ORDER BY name';
        $schema = empty($config['schema']) ? 'public' : $config['schema'];
        return [$sql, [$schema]];
    }