[CDBI] Re: Class::DBI data serialization

Thomas Charron twaffle at gmail.com
Tue Feb 6 23:01:08 GMT 2007


On 2/6/07, Thomas Charron <twaffle at gmail.com> wrote:
>   Is there any way for me to compare what each module is pointing to
> without doing a textual comparison?  Since the User module uses a
> primary of 'id', and Event uses 'user_id', I can't do a simple
> comparison, but I can't seem to find a way to access the 'type'
> information of a given column name.  Since JSON allows me to create
> objects, if a column type points to the type of the parent, I could
> say I don't care about it, since I can infer it points back to me as
> it's foreign key.

*blush*

ref() is your friend.  I appologize humbly for wasting everyones time.  :-)

-- 
-- Thomas



More information about the ClassDBI mailing list