[CDBI] Storing integer arrays

Bill Moseley moseley at hank.org
Wed Mar 21 00:20:57 GMT 2012


On Tue, Mar 20, 2012 at 11:44 PM, Fred Moyer <fred at redhotpenguin.com> wrote:

> On Tue, Mar 20, 2012 at 2:25 AM, Bill Moseley <moseley at hank.org> >
> >    list_of_integers    integer[]  NOT NUL,
>
> I ran into this exact same problem a couple months ago, and solved it
> by adding serialization and deserialization code for the arrays in the
> model accessor.  Mostly a '{' . join(',', @ints) . '}' type operation.
>

Thanks Fred, that works great.


-- 
Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digitalcraftsmen.net/pipermail/classdbi/attachments/20120321/a4fc2952/attachment.html>


More information about the ClassDBI mailing list