Documentation

PdbConditionInterface

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
throws
PDOException
InvalidConditionException
Return values
string
On this page

Search results