[Solar-talk] join columns

Paul M Jones pmjones at ciaweb.net
Thu Oct 19 14:51:48 PDT 2006


On Oct 19, 2006, at 4:37 PM, Antti Holvikari wrote:

> On 8/25/06, Paul M Jones <pmjones at solarphp.com> wrote:
>> 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.
>
> Seems you didn't change it :-) Have you got any updates on this?

Oh rats, sorry.  Can you enter it as a bug report at trac?  Then I  
won't forget again.

Thanks for your patience.


--

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