LIST-DATABASES — List databases matching the supplied connection spec and database type.
Function
list-databases connection-spec &key database-type => result
A connection specification
A database type specifier, i.e. a keyword. This defaults to the value of *default-database-type*
A list of matching databases.
This function returns a list of databases existing in the database system specified by database-type.
(list-databases '("localhost" "new" "dent" "dent") :database-type :postgresql) => ("address-book" "sql-test" "template1" "template0" "test1" "dent" "test")
None.
None.
An exception maybe thrown if the database system does not receive administrator-level authentication since function may need to read the administrative database of the database system.
list-databases is a CLSQL extension.