Метод |
Описание |
|
__construct ( array $config = [], callback $callback = null ) |
Constructor. Appends the default index name to the config array, which by default
is _all |
|
beginTransaction ( ) |
{@inheritDoc} |
|
config ( ) : array |
Get the config data for this connection. |
|
configName ( ) |
{@inheritDoc} |
|
disableConstraints ( callable $callback ) |
{@inheritDoc} |
|
disableForeignKeys ( ) |
{@inheritDoc} |
|
enableForeignKeys ( ) |
{@inheritDoc} |
|
enabled ( ) |
{@inheritDoc} |
|
getIndex ( string $name = null ) : Index |
Returns the index for the given connection |
|
logQueries ( $enable = null ) |
{@inheritDoc} |
|
logger ( object $instance = null ) : object |
Sets the logger object instance. When called with no arguments
it returns the currently setup logger instance. |
|
schemaCollection ( ) : SchemaCollection |
Returns a SchemaCollection stub until we can add more
abstract API's in Connection. |
|
transactional ( callable $callable ) |
{@inheritDoc} |
|