PHP 클래스 Storm\Drivers\Platforms\Development\Logging\Query

상속: implements Storm\Drivers\Base\Relational\Queries\IQuery
파일 보기 프로젝트 열기: timetoogo/penumbra

공개 메소드들

메소드 설명
Execute ( )
FetchAll ( )
FetchRow ( )
GetBindings ( )
GetQueryString ( )
InterpolateQuery ( string $Query, array $Params ) : string Replaces any parameter placeholders in a query with the value of that parameter. Useful for debugging. Assumes anonymous parameters from $params are are in the same order as specified in $query
SetBindings ( Bindings $Bindings )
__construct ( Storm\Drivers\Platforms\Development\Logging\ILogger $Logger, Storm\Drivers\Base\Relational\Queries\IQuery $Query, &$TimeSpentQuerying )

메소드 상세

Execute() 공개 메소드

public Execute ( )

FetchAll() 공개 메소드

public FetchAll ( )

FetchRow() 공개 메소드

public FetchRow ( )

GetBindings() 공개 메소드

public GetBindings ( )

GetQueryString() 공개 메소드

public GetQueryString ( )

InterpolateQuery() 공개 메소드

Replaces any parameter placeholders in a query with the value of that parameter. Useful for debugging. Assumes anonymous parameters from $params are are in the same order as specified in $query
public InterpolateQuery ( string $Query, array $Params ) : string
$Query string The sql query with parameter placeholders
$Params array The array of substitution parameters
리턴 string The interpolated query

SetBindings() 공개 메소드

public SetBindings ( Bindings $Bindings )
$Bindings Storm\Drivers\Base\Relational\Queries\Bindings

__construct() 공개 메소드

public __construct ( Storm\Drivers\Platforms\Development\Logging\ILogger $Logger, Storm\Drivers\Base\Relational\Queries\IQuery $Query, &$TimeSpentQuerying )
$Logger Storm\Drivers\Platforms\Development\Logging\ILogger
$Query Storm\Drivers\Base\Relational\Queries\IQuery