Adds to the $this->_Wheres collection. Called by $this->Where() and $this->OrWhere();
public where ( mixed $Field, mixed $Value = null, boolean $EscapeFieldSql = true, $EscapeValueSql = true ) : Gdn_SQLDriver | ||
$Field | mixed | The string on the left side of the comparison, or an associative array of Field => Value items to compare. |
$Value | mixed | The string on the right side of the comparison. You can optionally provide an array of DatabaseFunction => Value, which will be converted to DatabaseFunction('Value'). If DatabaseFunction contains a '%s' then sprintf will be used for to place DatabaseFunction into the value. |
$EscapeFieldSql | boolean | A boolean value indicating if $this->EscapeSql method should be called on $Field. |
return | Gdn_SQLDriver | $this |