Ejemplo n.º 1
0
 function test_select_where_in_array_has_no_side_effects()
 {
     $db = $this->getConnection();
     $q = new pdoext_Query('people');
     $q->addCriterion('first_name', array("John", "Jim"));
     $this->assertSqlEqual($q->toSql($db), $q->toSql($db));
 }