Constructor
Parameters: | array|PDO|null – |
---|---|
Throws ExceptionInvalidArgumentException: | |
@param ProfilerProfilerInterface $profiler
Return type: | Connection |
---|
Set connection parameters
Parameters: | array – |
---|---|
Return type: | void |
Get connection parameters
Return type: | array |
---|
Connect
Return type: | Connection |
---|---|
Throws : | ExceptionInvalidConnectionParametersException |
Throws : | ExceptionRuntimeException |
Disconnect
Return type: | Connection |
---|
Commit
Return type: | Connection |
---|
Rollback
Return type: | Connection |
---|---|
Throws : | ExceptionRuntimeException |
Execute
Parameters: | $sql – |
---|---|
Return type: | Result |
Throws : | ExceptionInvalidQueryException |
Prepare
Parameters: | string – |
---|---|
Return type: | Statement |