Fully Qualified Name: | Zend\Db\Adapter\Adapter |
Implements: | AdapterInterface, ProfilerAwareInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Adapter | |
__get() | Adapter | |
createStatement() | Create statement | Adapter |
getCurrentSchema() | Adapter | |
getDriver() | getDriver() | Adapter |
getHelpers() | Adapter | |
getPlatform() | Adapter | |
getProfiler() | Adapter | |
getQueryResultSetPrototype() | Adapter | |
query() | query() is a convenience function | Adapter |
setProfiler() | Adapter |
Parameter Name | Type | Description |
---|---|---|
$driver | \Driver\DriverInterface|array | |
$platform | \Platform\PlatformInterface | |
$queryResultPrototype | \ResultSet\ResultSetInterface | |
$profiler | \Profiler\ProfilerInterface |
Returns:
Parameter Name | Type | Description |
---|---|---|
$name | ||
$name |
Returns: \Driver\DriverInterface|\Platform\PlatformInterface
Create statement
Parameter Name | Type | Description |
---|---|---|
$initialSql | string | |
$initialParameters | \ParameterContainer |
Returns: \Driver\StatementInterface
Returns: void
getDriver()
Returns: \Driver\DriverInterface
Returns: void
Returns: \Platform\PlatformInterface
Returns: null|\Profiler\ProfilerInterface
Returns: \ResultSet\ResultSetInterface
query() is a convenience function
Parameter Name | Type | Description |
---|---|---|
$sql | string | |
$parametersOrQueryMode | string|array|\ParameterContainer | |
$resultPrototype | \Zend\Db\ResultSet\ResultSetInterface |
Returns: \Driver\StatementInterface|\ResultSet\ResultSet
Parameter Name | Type | Description |
---|---|---|
$profiler | \Profiler\ProfilerInterface |
Returns: self Provides a fluent interface