class SqlPreprocessor

SQL preprocessor.

Traits

Strict class for better experience.

Constants

MODE_AND

MODE_OR

MODE_SET

MODE_VALUES

MODE_ORDER

MODE_LIST

MODE_AUTO

MODES

ARRAY_MODES

PARAMETRIC_COMMANDS

Methods

__construct(Connection $connection)

No description

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

No description

Details

at line 75
__construct(Connection $connection)

Parameters

Connection $connection

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

Parameters

array $params
bool $useParams

Return Value

array of [sql, params]