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