Function tea_orm::queries::query_create_random_database
source · pub async fn query_create_random_database(
db_connection: &DatabaseConnection
) -> Result<String>Expand description
Runs a query which will create a new database with a randomly generated name.
After the Database is created, it will then run another query to
switch the DatabaseConnection to use that new database.