Pike v8.0 release 1738

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.