executeCreateDatabase creates new database with the given owner. The caller is responsible for opening and closing the database connection.
(databaseName, owner string)
| 366 | // executeCreateDatabase creates new database with the given owner. |
| 367 | // The caller is responsible for opening and closing the database connection. |
| 368 | func (c *Cluster) executeCreateDatabase(databaseName, owner string) error { |
| 369 | return c.execCreateOrAlterDatabase(databaseName, owner, createDatabaseSQL, |
| 370 | "creating database", "create database") |
| 371 | } |
| 372 | |
| 373 | // executeAlterDatabaseOwner changes the owner of the given database. |
| 374 | // The caller is responsible for opening and closing the database connection. |
no test coverage detected