[CDBI] Storing integer arrays

Bill Moseley <[email protected]> Tue, 20 Mar 2012 16:25:13 +0700
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <CAKhN_m5kW+7uEjDwxpiQK3OimY3W0c3q_xvtzg1rzbRta0jrHg@mail.gmail.com>
--===============0616667416==
Content-Type: multipart/alternative; boundary=e89a8f923fba5831e904bba94211

--e89a8f923fba5831e904bba94211
Content-Type: text/plain; charset=ISO-8859-1

I have a column in Postgress:

   list_of_integers    integer[]  NOT NUL,

$foo->list_of_integers( \@ids );
$foo->update;

Is there a way to store this in Class::DBI?

DBIx::ContextualFetch complains:  die "Cannot call execute with a reference
($_)\n"

-- 
Bill Moseley
[email protected]

--e89a8f923fba5831e904bba94211
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I have a column in Postgress:<div><br></div><div>=A0=A0 list_of_integers =
=A0 =A0integer[] =A0NOT NUL,</div><div><br></div><div>$foo-&gt;list_of_inte=
gers( \@ids );</div><div>$foo-&gt;update;</div><div><br></div><div>Is there=
 a way to store this in Class::DBI?</div>

<div><br></div><div>DBIx::ContextualFetch complains: =A0<span style=3D"whit=
e-space:pre-wrap">die &quot;Cannot call execute with a reference ($_)\n&quo=
t;</span></div><div><div><br></div>-- <br>Bill Moseley<br><a href=3D"mailto=
:[email protected]" target=3D"_blank">[email protected]</a><br>


</div>

--e89a8f923fba5831e904bba94211--


--===============0616667416==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ClassDBI mailing list
ClassDBI-Ra3b/[email protected]
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

--===============0616667416==--