Pike v8.1 release 6

Method Msql.msql()->list_dbs()


Method list_dbs

array(string) list_dbs(void|string wild)

Description

Returns an array containing the names of all databases available on the system. Will throw an exception if there is no server connected. If an argument is specified, it will return only those databases whose name matches the given glob.