hi there,
somehow i can't get $sth->{ParamValues} working using DBD::mysql (i
guess it should support that feature, or?).
anyhow, the docs say:
---------------------
ParamValues (hash ref, read-only)
Returns a reference to a hash containing the values currently bound
to placeholders. Returns undef if not supported by the driver. If the
driver does support ParamValues but no values have been bound yet then
either undef or an empty hash may be returned.
See /ShowErrorStatement for an example of how this is used.
It is possible that the values in the hash returned by ParamValues
are not exactly the same as those passed to bind_param() or execute().
The driver may have modified the values in some way based on the TYPE
the value was bound with. For example a floating point value bound as an
SQL_INTEGER type may be returned as an integer.
---------------------
which, quite frankly, kind of confuses me: what should the keys and
values of the resulting hash be?
so: can anybody confirm that $sth->{ParamValues} works for the most
recent mysql ppm that activestate offers (v2.0400, if i'm not mistaken)?
thanks,
M.
- Re: $sth->{ParamValues} using mysql Moritz von Schweinitz
- Re: $sth->{ParamValues} using mysql Tim Bunce