Subject Re: [firebird-php] ibase_param_info
Author masotti
On 28/07/2010 11:55, Sándor Tamás wrote:
> I think now that the driver uses the same structure for parameters as
> for fields, but for parameters, these values (name, alias, and relation)
> are left empty.

Sorry for my bad english, but this is exactly what I mean.
Only data type and length can be filled by interface because only those
informations come from firebird library interface. When you have a ?
placeholder there is no name, alias, or relation because in the query
your parameters would have no field relationship as in:
SELECT * FROM TABLE WHERE KEYFIELD = ? OR 1 = ?
to have all data (second parameter set to 1) or only keyed records (
second parameter set to anything else).

Ciao.
Mimmo.