LIST-DATABASES — List databases matching the supplied connection spec and database type.Function
connection-spec
A connection specification
database-type
A database type specifier, i.e. a keyword. This defaults to the value of *default-database-type*
result
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")