Does a database exist?

db_exists(conn, conn_fun, db_name)

Arguments

conn

Connection object

See also

Other logical functions: field_exists(), schema_exists(), table_exists()