@@ -119,26 +119,27 @@ prepareOff(); // When off shortcut SQL Methods calls will use vendors escape rou
119119* ` insert_select(string $toTable = null, $toColumns = '*', $fromTable = null, $fromColumns = '*', ...$conditions); `
120120
121121``` php
122- // The variadic ...$whereConditions, and ..$conditions parameters,
122+ // The variadic ...$whereConditions, and ... $conditions parameters,
123123// represent the following global functions.
124124// They are comparison expressions returning an array with the given arguments,
125125// the last arguments of _AND, _OR, _NOT, _andNOT will combine expressions
126- eq('key/Field/Column ', $value, _AND), // combine next expression
127- neq('key/Field/Column ', $value, _OR), // will combine next expression again
128- ne('key/Field/Column ', $value), // the default is _AND so will combine next expression
129- lt('key/Field/Column ', $value)
130- lte('key/Field/Column ', $value)
131- gt('key/Field/Column ', $value)
132- gte('key/Field/Column ', $value)
133- isNull('key/Field/Column ')
134- isNotNull('key/Field/Column ')
135- like('key/Field/Column ', '_%')
136- notLike('key/Field/Column ', '_%')
137- in('key/Field/Column ', $value)
138- notIn('key/Field/Column ', $value)
139- between('key/Field/Column ', $value, $value2)
140- notBetween('key/Field/Column ', $value, $value2)
126+ eq('column ', $value, _AND), // combine next expression
127+ neq('column ', $value, _OR), // will combine next expression again
128+ ne('column ', $value), // the default is _AND so will combine next expression
129+ lt('column ', $value)
130+ lte('column ', $value)
131+ gt('column ', $value)
132+ gte('column ', $value)
133+ isNull('column ')
134+ isNotNull('column ')
135+ like('column ', '_%? ')
136+ notLike('column ', '_%? ')
137+ in('column ', ... $value)
138+ notIn('column ', ... $value)
139+ between('column ', $value, $value2)
140+ notBetween('column ', $value, $value2)
141141// The above should be used within the where( ...$whereConditions) clause
142+ // $value will protected by either using escape or prepare statement
142143```
143144
144145``` php
0 commit comments