PdbRawCondition
in package
implements
PdbConditionInterface
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- Create a condition.
- __toString() : mixed
- build() : string
- Build an appropriate SQL clause for this condition.
- getPreviewSql() : string
- validate() : void
- Validate this condition.
Properties
$params
public
array<int|string, mixed>
$params
= []
$sql
public
string
$sql
Methods
__construct()
Create a condition.
public
__construct(string $sql[, array<string|int, mixed> $params = [] ]) : mixed
Parameters
- $sql : string
- $params : array<string|int, mixed> = []
__toString()
public
__toString() : mixed
Tags
build()
Build an appropriate SQL clause for this condition.
public
build(Pdb $pdb, array<string|int, mixed> &$values) : string
Parameters
- $pdb : Pdb
- $values : array<string|int, mixed>
Tags
Return values
stringgetPreviewSql()
public
getPreviewSql() : string
Tags
Return values
stringvalidate()
Validate this condition.
public
validate() : void