Gdn_SQLDriver::setOverwrite PHP Method

setOverwrite() public method

Similar to $this->Set() in every way except that if a named parameter is used in place of $Value, it will overwrite any existing value associated with that name as opposed to adding a new name/value (which is the default way that $this->Set() works).
public setOverwrite ( mixed $Field, string $Value = '', boolean $EscapeString = true )
$Field mixed The name of the field to save value as. Alternately this can be an array of $FieldName => $Value pairs, or even an object of $DataSet->Field properties containing one rowset.
$Value string The value to be set in $Field. Ignored if $Field was an array or object.
$EscapeString boolean A boolean value indicating if the $Value(s) should be escaped or not.
    public function setOverwrite($Field, $Value = '', $EscapeString = true)
    {
        return $this->set($Field, $Value, $EscapeString, false);
    }