Pike v8.1 release 6

Method Sql.pgsql()->list_dbs()


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.