Example #1
0
 public function testCriteriaConcatWithAnd()
 {
     $c = new Criteria('column > ?', 55);
     $c->and('column <> 0')->and('column < 100');
     $this->assertEquals("(((column > '55') AND column <> 0) AND column < 100)", $c->toSql());
 }