public function update($table) { /** * @var $this IStatement */ $update = new UpdateClause(); $update->setTable($table); $this->addClause($update); return $this; }
public function testAssemble() { $clause = new UpdateClause(); $clause->setTable('tester'); $this->assertEquals('UPDATE tester', QueryAssembler::stringify($clause)); }