PHP Class phprs\ezsql\rules\update\UpdateRule

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

Public Methods

Method Description
update ( string $table ) : UpdateSetRule update('table')->set('a', 1) => "UPDATE table SET a=1"

Method Details

update() public method

update('table')->set('a', 1) => "UPDATE table SET a=1"
public update ( string $table ) : UpdateSetRule
$table string
return UpdateSetRule