public function testBindsUsingQueryAdapter() { $query = new Query("select 'foo' one from dual where 1 = :var"); $binds = array(':var' => 1); $query->bind($binds); $this->assertEquals($binds, $query->getBindVariables()); }
public function testBindsUsingQueryAdapter() { $query = new Query("select 'foo' one from dual where 1 = :var"); $binds = array(':var' => 1); $query->bind($binds); $this->assertEquals($binds, $query->getBindVariables()); }