PHP Class Storm\Drivers\Base\Relational\Queries\QueryBuilder

Exibir arquivo Open project: timetoogo/penumbra Class Usage Examples

Public Methods

Method Description
Append ( $QueryString )
AppendAllColumnData ( ColumnData $Data, $Delimiter )
AppendAllEscaped ( $QueryStringFormat, array $Values, $Delimiter, $ValuePlaceholder = self::DefaultPlaceholder )
AppendColumn ( $QueryStringFormat, Column $Column, $Alias = null, $ValuePlaceholder = self::DefaultPlaceholder )
AppendColumnData ( Column $Column, $Value )
AppendCriterion ( Criterion $Criterion )
AppendEscaped ( $QueryStringFormat, $Value, $ParameterType = null, $ValuePlaceholder = self::DefaultPlaceholder )
AppendExpression ( Expression $Expression )
AppendExpressions ( array $Expressions, $Delimiter )
AppendIdentifier ( $QueryStringFormat, array $IdentifierSegments, $ValuePlaceholder = self::DefaultPlaceholder )
AppendIdentifiers ( $QueryStringFormat, array $Identifiers, $Delimiter, $ValuePlaceholder = self::DefaultPlaceholder )
AppendParameterPlaceholder ( $QueryStringFormat, $ValuePlaceholder = self::DefaultPlaceholder )
AppendParameterPlaceholders ( $QueryStringFormat, $Count, $Delimiter, $ValuePlaceholder = self::DefaultPlaceholder )
AppendSingleValue ( $Value, $ParameterType = null )
AppendValue ( $QueryStringFormat, $Value, $ParameterType = null, $ValuePlaceholder = self::DefaultPlaceholder )
AppendValues ( $QueryStringFormat, array $Values, $Delimiter, $ValuePlaceholder = self::DefaultPlaceholder )
Build ( ) : Storm\Drivers\Base\Relational\Queries\IQuery
Delimit ( $Iteratable, $Delimiter )
GetBindings ( ) : Bindings
GetCriterionCompiler ( ) : Storm\Drivers\Base\Relational\Queries\ICriterionCompiler
GetExpressionCompiler ( ) : Storm\Drivers\Base\Relational\Queries\IExpressionCompiler
GetIdentifierEscaper ( ) : Storm\Drivers\Base\Relational\Queries\IIdentifierEscaper
GetParameterPlaceholder ( )
GetQueryString ( )
__construct ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, $ParameterPlaceholder, Bindings $Bindings, Storm\Drivers\Base\Relational\Queries\IExpressionCompiler $ExpressionCompiler, Storm\Drivers\Base\Relational\Queries\ICriterionCompiler $CriterionCompiler, Storm\Drivers\Base\Relational\Queries\IIdentifierEscaper $IdentifierEscaper )

Private Methods

Method Description
AppendEscapedIdentifiers ( $QueryStringFormat, array $Identifiers, $Delimiter, $ValuePlaceholder )
EscapeIdentifiers ( array $Identifiers )
GetColumnIdentifier ( Column $Column, $Alias = null )
ReplacePlaceholder ( $QueryStringFormat, $Placeholder, $Value )

Method Details

Append() final public method

final public Append ( $QueryString )

AppendAllColumnData() final public method

final public AppendAllColumnData ( ColumnData $Data, $Delimiter )
$Data Storm\Core\Relational\ColumnData

AppendAllEscaped() final public method

final public AppendAllEscaped ( $QueryStringFormat, array $Values, $Delimiter, $ValuePlaceholder = self::DefaultPlaceholder )
$Values array

AppendColumn() final public method

final public AppendColumn ( $QueryStringFormat, Column $Column, $Alias = null, $ValuePlaceholder = self::DefaultPlaceholder )
$Column Storm\Drivers\Base\Relational\Columns\Column

AppendColumnData() final public method

final public AppendColumnData ( Column $Column, $Value )
$Column Storm\Drivers\Base\Relational\Columns\Column

AppendCriterion() final public method

final public AppendCriterion ( Criterion $Criterion )
$Criterion Storm\Core\Relational\Criterion

AppendEscaped() final public method

final public AppendEscaped ( $QueryStringFormat, $Value, $ParameterType = null, $ValuePlaceholder = self::DefaultPlaceholder )

AppendExpression() final public method

final public AppendExpression ( Expression $Expression )
$Expression Storm\Core\Relational\Expressions\Expression

AppendExpressions() final public method

final public AppendExpressions ( array $Expressions, $Delimiter )
$Expressions array

AppendIdentifier() final public method

final public AppendIdentifier ( $QueryStringFormat, array $IdentifierSegments, $ValuePlaceholder = self::DefaultPlaceholder )
$IdentifierSegments array

AppendIdentifiers() final public method

final public AppendIdentifiers ( $QueryStringFormat, array $Identifiers, $Delimiter, $ValuePlaceholder = self::DefaultPlaceholder )
$Identifiers array

AppendParameterPlaceholder() final public method

final public AppendParameterPlaceholder ( $QueryStringFormat, $ValuePlaceholder = self::DefaultPlaceholder )

AppendParameterPlaceholders() final public method

final public AppendParameterPlaceholders ( $QueryStringFormat, $Count, $Delimiter, $ValuePlaceholder = self::DefaultPlaceholder )

AppendSingleValue() final public method

final public AppendSingleValue ( $Value, $ParameterType = null )

AppendValue() final public method

final public AppendValue ( $QueryStringFormat, $Value, $ParameterType = null, $ValuePlaceholder = self::DefaultPlaceholder )

AppendValues() final public method

final public AppendValues ( $QueryStringFormat, array $Values, $Delimiter, $ValuePlaceholder = self::DefaultPlaceholder )
$Values array

Build() final public method

final public Build ( ) : Storm\Drivers\Base\Relational\Queries\IQuery
return Storm\Drivers\Base\Relational\Queries\IQuery

Delimit() final public method

final public Delimit ( $Iteratable, $Delimiter )

GetBindings() final public method

final public GetBindings ( ) : Bindings
return Bindings

GetCriterionCompiler() final public method

final public GetCriterionCompiler ( ) : Storm\Drivers\Base\Relational\Queries\ICriterionCompiler
return Storm\Drivers\Base\Relational\Queries\ICriterionCompiler

GetExpressionCompiler() final public method

final public GetExpressionCompiler ( ) : Storm\Drivers\Base\Relational\Queries\IExpressionCompiler
return Storm\Drivers\Base\Relational\Queries\IExpressionCompiler

GetIdentifierEscaper() final public method

final public GetIdentifierEscaper ( ) : Storm\Drivers\Base\Relational\Queries\IIdentifierEscaper
return Storm\Drivers\Base\Relational\Queries\IIdentifierEscaper

GetParameterPlaceholder() final public method

final public GetParameterPlaceholder ( )

GetQueryString() final public method

final public GetQueryString ( )

__construct() public method

public __construct ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, $ParameterPlaceholder, Bindings $Bindings, Storm\Drivers\Base\Relational\Queries\IExpressionCompiler $ExpressionCompiler, Storm\Drivers\Base\Relational\Queries\ICriterionCompiler $CriterionCompiler, Storm\Drivers\Base\Relational\Queries\IIdentifierEscaper $IdentifierEscaper )
$Connection Storm\Drivers\Base\Relational\Queries\IConnection
$Bindings Bindings
$ExpressionCompiler Storm\Drivers\Base\Relational\Queries\IExpressionCompiler
$CriterionCompiler Storm\Drivers\Base\Relational\Queries\ICriterionCompiler
$IdentifierEscaper Storm\Drivers\Base\Relational\Queries\IIdentifierEscaper