public static function update($context, $table)
{
$context->appendSql("UPDATE {$table}");
}
/** * update('table')->set('a', 1) => "UPDATE table SET a=1" * @param string $table * @return \phprs\ezsql\rules\update\UpdateSetRule */ public function update($table) { UpdateImpl::update($this->context, $table); return new UpdateSetRule($this->context); }