[CDBI] Re: Class::DBI data serialization
"Thomas Charron" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <[email protected]> |
On 2/6/07, Thomas Charron <[email protected]> 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