PHP Class Storm\Drivers\Platforms\Development\Logging\Query

Inheritance: implements Storm\Drivers\Base\Relational\Queries\IQuery
Afficher le fichier Open project: timetoogo/penumbra

Méthodes publiques

Méthode Description
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 )

Method Details

Execute() public méthode

public Execute ( )

FetchAll() public méthode

public FetchAll ( )

FetchRow() public méthode

public FetchRow ( )

GetBindings() public méthode

public GetBindings ( )

GetQueryString() public méthode

public GetQueryString ( )

InterpolateQuery() public méthode

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
Résultat string The interpolated query

SetBindings() public méthode

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

__construct() public méthode

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