I'm doing this way.
WHERE id_cadc = <? value("id") ?>
In my code I put this form.
orReport report( "customer", params, db );
But dosen't work, what is happening??
Is there some bug when I send any parameters??
The same problem is happening with the MetaSQL.
After some additonal communications off-list it was determined that the problem stemmed from the use of a '123'::varchar cast.
The MetaSQL parser uses a prepared query method that has colons in the name of binded parameters. Because of this the use of the casting method used above causes errors. The solution is to use a different casting method such as the CAST() function, text(), or any other similar function that accmplished the desired cast.
Log in to post a comment.