[Solar-talk] join columns
Paul M Jones
pmjones at solarphp.com
Fri Aug 25 12:51:26 PDT 2006
On Aug 21, 2006, at 12:22 PM, Antti Holvikari wrote:
> In Solar_Sql_Select::leftJoin() and in innerJoin() it's mandatory to
> define the columns that should be selected, but in join() it's not.
> Why's this? I have a situation where I don't want to select anything
> from the joined table, just join it. Hope I'm not missing something
> here.
It appears I'm the one who missed something; I don't recall why I did
that. Looks like an oversight on my part.
Matthew Weier O'Phinney, I think we talked about these methods
originally; do you remember why I might have required that columns be
selected?
If Matthew doesn't recall, I'll change it to "$cols = null" just like
join().
Regardless, sorry for the trouble.
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list