예제 #1
0
 function testSql_PrepareMixedArgs()
 {
     $Sql_Prepare = new A_Sql_Prepare();
     $this->assertEqual($Sql_Prepare->statement('? :foo ? :bar ? :baz')->bind('foo', array(':baz' => 3), 'bar', array(':foo' => 1, ':bar' => 2), 'baz')->render(), "foo 1 bar 2 baz 3");
 }