PHP Class phprs\ezsql\rules\replace\ReplaceIntoRule

Inheritance: extends phprs\ezsql\rules\basic\BasicRule
Show file Open project: caoym/phprs-restful Class Usage Examples

Public Methods

Method Description
replaceInto ( string $table ) : ValuesRule replaceInto('table')->values([1,2]) => "REPLACE INTO table VALUES(1,2)"

Method Details

replaceInto() public method

replaceInto('table')->values([1,2]) => "REPLACE INTO table VALUES(1,2)"
public replaceInto ( string $table ) : ValuesRule
$table string
return ValuesRule