Zend\Db\Adapter\Driver\DriverInterface
Synopsis
interface DriverInterface
{
- // constants
- const PARAMETERIZATION_POSITIONAL = 'positional';
- const PARAMETERIZATION_NAMED = 'named';
- const NAME_FORMAT_CAMELCASE = 'camelCase';
- const NAME_FORMAT_NATURAL = 'natural';
- // methods
- public string getDatabasePlatformName()
- public bool checkEnvironment()
- public ConnectionInterface getConnection()
- public StatementInterface createStatement()
- public ResultInterface createResult()
- public array getPrepareType()
- public string formatParameterName()
- public mixed getLastGeneratedValue()
Constants
Name | Value |
---|---|
PARAMETERIZATION_POSITIONAL | 'positional' |
PARAMETERIZATION_NAMED | 'named' |
NAME_FORMAT_CAMELCASE | 'camelCase' |
NAME_FORMAT_NATURAL | 'natural' |
Methods
public
- checkEnvironment() — Check environment
- createResult() — Create result
- createStatement() — Create statement
- formatParameterName() — Format parameter name
- getConnection() — Get connection
- getDatabasePlatformName() — Get database platform name
- getLastGeneratedValue() — Get last generated value
- getPrepareType() — Get prepare type