Quantcast
Channel: perl.dbi.users
Viewing all articles
Browse latest Browse all 225

MySQL IV vs PV (2 messages)

$
0
0
Is there anything in a db handle or statement handle one use to know
whether the running instance of DBD::MySQL will return integer columns
as IV?

I'm adding some code to a layer atop DBI which will force IV (via +=0),
but want to avoid doing that were it is not required.

The particular code path serializes the returned rows via JSON::XS,
hense the need.

-JimC
--
James Cloos <cloos@jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6

Viewing all articles
Browse latest Browse all 225

Trending Articles