10 return (
bool)$conn->
selectField(
'"pg_catalog"."pg_database"',
'1',
11 [
'datname' => $database ], __METHOD__ );
15 $safedb = $conn->addIdentifierQuotes( $database );
16 $conn->
query(
"CREATE DATABASE $safedb", __METHOD__ );
17 return Status::newGood();
existsInConnection(IDatabase $conn, $database)
Determine whether a database exists on a connection.
createInConnection(IDatabase $conn, $database)
Create a database on a connection.