replaceInto() public method

replaceInto('table')->values([1,2]) => "REPLACE INTO table VALUES(1,2)"
public replaceInto ( string $table ) : ValuesRule
$table string
return ValuesRule
Beispiel #1
0
 /**
  * replaceInto('table') => "REPLACE INTO table"
  * @param string $table
  * @return \phprs\ezsql\rules\replace\ValuesRule
  */
 public static function replaceInto($table)
 {
     $obj = new ReplaceIntoRule(new SqlConetxt());
     return $obj->replaceInto($table);
 }