develooper Front page | perl.dbi.users | Postings from November 2017

MySQL IV vs PV

Thread Next
From:
James Cloos
Date:
November 13, 2017 17:51
Subject:
MySQL IV vs PV
Message ID:
m3shdicbwx.fsf@carbon.jhcloos.org
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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About