SQLQuery_ParameterInjector deprecated
class SQLQuery_ParameterInjector (View source)
deprecated
Provides conversion of parameterised SQL to flattened SQL strings
Methods
public
array
injectConditions(array $conditions)
Given a list of parameterised conditions, return a flattened list of condition strings
protected
string
injectValues(string $sql, array $parameters)
Merge parameters into a SQL prepared condition
protected
bool
checkStringTogglesLiteral(string $input)
Determines if the SQL fragment either breaks into or out of a string literal by counting single quotes
Details
__construct()
No description
array
injectConditions(array $conditions)
Given a list of parameterised conditions, return a flattened list of condition strings
protected string
injectValues(string $sql, array $parameters)
Merge parameters into a SQL prepared condition
protected bool
checkStringTogglesLiteral(string $input)
Determines if the SQL fragment either breaks into or out of a string literal by counting single quotes
Handles double-quote escaped quotes as well as slash escaped quotes