class SqlPreprocessor

SQL preprocessor.

Constants

private MODE_AND

private MODE_OR

private MODE_SET

private MODE_VALUES

private MODE_ORDER

private MODE_LIST

private MODE_AUTO

private MODES

private ARRAY_MODES

private PARAMETRIC_COMMANDS

Methods

__construct(Connection $connection)

No description

array
process(array $params, bool $useParams = false)

No description

Details

at line 75
__construct(Connection $connection)

No description

Parameters

Connection $connection

at line 85
array process(array $params, bool $useParams = false)

No description

Parameters

array $params
bool $useParams

Return Value

array

of [sql, params]

Traits

Strict class for better experience.