update() public static method

public static update ( $context, $table )
コード例 #1
0
ファイル: update.php プロジェクト: caoym/phprs-restful
 /**
  * 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);
 }