Connection.changeDatabase

Changes the current database for the given connection. This operation is not available in all providers.

class Connection
int
changeDatabase
(
string name
)

Parameters

name string

name of database to switch to.

Return Value

Type: int

TRUE if successful, FALSE otherwise.

Meta