File path: dist/twist/Core/Helpers/Database.helper.php
Namespace: Twist\Core\Helpers
Extends: Base
setDatabase
— Select the default database for this connection to be using, all further queries will then be run on the newly selected database
Name | Description |
---|---|
$strDatabase | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strDatabase = 'foo';
//Call the function setDatabase with the example vars
Twist::Database() -> setDatabase($strDatabase);