Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-17-2008, 10:39 PM
Junior Member
 
Join Date: May 2008
Location: Portland, OR
Posts: 1
Default Only partial metadata on a JOIN result?

I am trying to get the metadata info() on a mysql query that does an INNER JOIN, but I am only getting the metadata from the referenced table.

Specifically, in the controller I have $this->view->jobsInfo = $jobs->info();
In the view I vardump $this->jobsInfo['cols']

The query:
SELECT table1.id, table1.customer, table2.category, table2.price
FROM jobs
INNER JOIN table2
ON table1.id = table2.id

Is there a way to get the metadata on table2? Something I should be doing differently?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:18 AM.