コード例 #1
0
 public function testAssemble()
 {
     $selector = new ConcatSelectExpression();
     $selector->setProperties('one', 'two');
     $this->assertEquals('CONCAT(one,two)', QueryAssembler::stringify($selector));
     $selector->setProperties('one', "'-'", 'two');
     $this->assertEquals('CONCAT(one,\'-\',two)', QueryAssembler::stringify($selector));
 }