Method Sql.pgsql()->list_dbs()

class Sql.pgsql

Method list_dbs

final array(string) list_dbs(void|string glob)

Returns

An array of the databases available on the server.

Parameter glob

If specified, list only those databases matching it.