in reply to Re: Problems with DBIx::Class and SQL JOIN's
in thread Problems with DBIx::Class and SQL JOIN's

I find myself back at a very similar problem, equally frustrated (personal issue, yes I know). What would help greatly is if I could see what is actually in the resultset object after I fail to get what data I want from it. It's a blessed hashref that isn't inspect-able with Data dumper, because it uses methods that call for data rather than variables that store data. As such, I can't find out what the result of the query would produce...

How is this done? I've printed off all the docs and have been reading them for 4 days. I have yet to come across anything that lets me see exactly what a query returned. I only get a resultset object (as promised by the docs) but have no way to search it. What columns are there? What rows are there? What are the names and values of such? I have no known way to tell.

Does anyone else know?

--
Tommy
  • Comment on Re^2: Problems with DBIx::Class and SQL JOIN's

Replies are listed 'Best First'.
Re^3: Problems with DBIx::Class and SQL JOIN's
by Tommy (Chaplain) on Jun 10, 2009 at 19:18 UTC

    I was able to squeak one out and fix the immediate problem, and I admit it was a bit of a learning experience *grits teeth and bites tongue*. I'm earnestly hoping I can get through all the documentation for this monster before I lose patience for it altogether.

    The fix? Just had to go over the relationships in my growing number of table schema definition classes and tweak-tweak-tweak (rockin' robin)

    --
    Tommy