How do I address a new column in a "joined" table? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: How do I address a new column in a "joined" table? (/showthread.php?tid=44090) |
How do I address a new column in a "joined" table? - El Forum - 08-02-2011 [eluser]Grego606[/eluser] I am trying to add a where() condition. The targeted column is 'micro' in a table called 'songs'. How do I read and update 'micro'? I attempted to add 'micro' =>$label->song->micro to the "where" array. Code: function label($label_id) Quote:Error Number: 1054The Datamapper file: Code: class Label extends DataMapper { |