PdbConditionInterface
in
Table of Contents
Methods
- build() : string
- Build an appropriate SQL clause for this condition.
- getPreviewSql() : string
- validate() : void
- Validate this condition.
Methods
build()
Build an appropriate SQL clause for this condition.
public
build(Pdb $pdb, array<string|int, mixed> &$values) : string
The values will be created as ? and added to the $values parameter to permit one to bind the values later in an safe manner.
Parameters
- $pdb : Pdb
- $values : array<string|int, mixed>
Tags
Return values
stringgetPreviewSql()
public
getPreviewSql() : string
Return values
stringvalidate()
Validate this condition.
public
validate() : void