implements |
Arrayable |
---|---|
uses |
ContextableTrait, apnscpFunctionInterceptorTrait |
Class DatabaseGenerator
Methods | ||
---|---|---|
public
|
__destruct()
|
# |
public
|
__debugInfo()
|
# |
public
|
toArray()
|
# |
public
|
rollDatabase(): bool|string
|
# |
public
|
rollUsername(): bool|string
|
# |
public
|
create(): bool
|
# |
public
|
rollback(): void
|
# |
public
static
|
mysql(Auth_Info_User $ctx, string $pattern): static
|
# |
public
static
|
pgsql(Auth_Info_User $ctx, string $pattern): static
|
# |
public
|
connect(): PDO
|
# |
public
|
__set($name, $value)
|
# |
public
|
__get($name)
|
# |
public
|
__isset($name)
|
# |
Methods used from ContextableTrait |
---|
instantiateContexted(), setContext(), contextSynchronized(), __wakeup() |
Methods used from apnscpFunctionInterceptorTrait |
---|
__call() |
Constants | ||
---|---|---|
public
|
MUTABLES = ['hostname', 'database', 'username', 'password', 'prefix', 'kind', 'port']
|
# |
Properties | |||
---|---|---|---|
public
|
|
$connectionLimit = Mysql_Module::DEFAULT_CONCURRENCY_LIMIT
|
# |
public
|
bool
|
$autoRollback = false
|
# |
public
|
string
|
$hostname
|
# |
public
|
string
|
$database
|
# |
public
|
string
|
$username
|
# |
public
|
string
|
$password
|
# |
public
|
string
|
$prefix
|
# |
public
|
string
|
$kind
|
# |
public
|
int
|
$port
|
# |
public
|
array
|
$dbArgs
|
# |