Ejemplo n.º 1
0
 public function testLowPriority()
 {
     $insert = new Insert('foo');
     $insert->priority(Insert::LOW_PRIORITY)->values(array('name' => 'hello'));
     list($sql) = $insert->toQuery();
     $this->assertEqualsSql('INSERT LOW_PRIORITY INTO foo (name) VALUES (:name_0)', $sql);
 }