phprs\ezsql\rules\update\UpdateSetRule::set PHP 메소드

set() 공개 메소드

update('table')->set('a', 1) => "UPDATE table SET a=1" update('table')->set('a', 1)->set('b',Sql::native('now()')) => "UPDATE table SET a=1,b=now()"
public set ( string $column, mixed $value ) : UpdateSetRule
$column string
$value mixed
리턴 UpdateSetRule
    public function set($column, $value)
    {
        $this->impl->set($this->context, $column, $value);
        return $this;
    }