프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$arrCache | array | Result cache | |
$blnDisableAutocommit | boolean | Autocommit indicator | |
$resConnection | Doctrine\DBAL\Connection | Connection ID | |
$statement | Doctrine\DBAL\Driver\Statement | Database statement | |
$strQuery | string | Query string |
메소드 | 설명 | |
---|---|---|
__construct ( Doctrine\DBAL\Connection $resConnection, boolean $blnDisableAutocommit = false ) | Validate the connection resource and store the query string | |
__get ( string $strKey ) : mixed | null | Return an object property | |
execute ( ) : |
Execute the query and return the result object | |
executeCached ( ) : |
Always execute the query and add or replace an existing cache entry | |
executeUncached ( ) : |
Bypass the cache and always execute the query | |
explain ( ) : string | Explain the current query | |
limit ( integer $intRows, integer $intOffset ) : |
Handle limit and offset | |
prepare ( string $strQuery ) : |
Prepare a query string so the following functions can handle it | |
query ( string $strQuery = '' ) : |
Directly send a query string to the database | |
set ( array $arrParams ) : |
Autogenerate the SET/VALUES subpart of a query from an associative array |
메소드 | 설명 | |
---|---|---|
escapeParams ( array $arrValues ) : array | Escape the values and serialize objects and arrays | |
replaceWildcards ( array $arrValues ) | Replace the wildcards in the query string |
public __construct ( Doctrine\DBAL\Connection $resConnection, boolean $blnDisableAutocommit = false ) | ||
$resConnection | Doctrine\DBAL\Connection | The connection resource |
$blnDisableAutocommit | boolean | Optionally disable autocommitting |
protected escapeParams ( array $arrValues ) : array | ||
$arrValues | array | The values array |
리턴 | array | The array with the escaped values |
public executeCached ( ) : |
||
리턴 | The result object |
public executeUncached ( ) : |
||
리턴 | The result object |
protected replaceWildcards ( array $arrValues ) | ||
$arrValues | array | The values array |
protected bool $blnDisableAutocommit | ||
리턴 | boolean |
protected Connection,Doctrine\DBAL $resConnection | ||
리턴 | Doctrine\DBAL\Connection |
protected Statement,Doctrine\DBAL\Driver $statement | ||
리턴 | Doctrine\DBAL\Driver\Statement |