update() 공개 메소드

update('table')->set('a', 1) => "UPDATE table SET a=1"
public update ( string $table ) : UpdateSetRule
$table string
리턴 UpdateSetRule
예제 #1
0
파일: Sql.php 프로젝트: caoym/phprs-restful
 /**
  * update('table') => "UPDATE table"
  * @param string $table
  * @return \phprs\ezsql\rules\update\UpdateSetRule
  */
 public static function update($table)
 {
     $obj = new UpdateRule(new SqlConetxt());
     return $obj->update($table);
 }