I am unable to use multiple parameters. When I access only one of the any parameters passed to query it works, however, accessing two or more parameters I get the following error:
uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero
This is my code sample: this works
$this->src("pgsql")
->query("select * from test.users where test_code=:test_code and operator_code='op01' ")
->params(array(
":test_code"=>$this->params["test_code"]
))
->pipe($this->dataStore("test"));
this doesn't
$this->src("pgsql")
->query("select * from test.users where test_code=:test_code and operator_code=:operator ")
->params(array(
":test_code"=>$this->params["test_code"],
":operator"=>$this->params["operator"]
))
->pipe($this->dataStore("test"));
Can you please help me on this? Thank You!