insertInto() 공개 메소드

insertInto('table')->values([1,2]) => "INSERT INTO table VALUES(1,2)"
public insertInto ( string $table ) : ValuesRule
$table string
리턴 ValuesRule
예제 #1
0
파일: Sql.php 프로젝트: caoym/phprs-restful
 /** 
  * insertInto('table') => "INSERT INTO table"
  * 
  * @param string $table
  * @return \phprs\ezsql\rules\insert\ValuesRule
  */
 public static function insertInto($table)
 {
     $obj = new InsertRule(new SqlConetxt());
     return $obj->insertInto($table);
 }