public function set($field, $value = UNDEFINED)
{
if ($value === false) {
throw $this->exception('Value "false" is not supported by SQL')->addMoreInfo('field', $field);
}
if (is_array($field)) {
foreach ($field as $key => $value) {
$this->set($key, $value);
}
return $this;
}
if ($value === UNDEFINED) {
throw $this->exception('Specify value when calling set()');
}
$this->args['set'][$field] = $value;
return $this;
}