Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

lazy params fix

  • Loading branch information...
commit 5a4cffe0d526e14f7476aa1e900c289661f30d39 1 parent 8056a25
@slava-vishnyakov authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 Tests/index.php
View
7 Tests/index.php
@@ -410,6 +410,13 @@ public function testSetModelForException2() {
$this->db->set_model_for($this->table, 'Some1');
}
+ /**
+ * @depends testTableCreation
+ */
+ public function testLazyParamExecute() {
+ $q = $this->db->execute('SELECT ? as A, ? as B', '1', '2')->fetch_row();
+ $this->assertEquals(array('A' => '1', 'B' => '2'), $q);
+ }
}
class Some1 {
Please sign in to comment.
Something went wrong with that request. Please try again.