[TYPO3-50-general] Competition: Best replacement for "and"/"or" wanted!
ries van Twisk
typo3 at rvt.dds.nl
Wed Jul 23 16:07:00 CEST 2008
Hey Karsten,
out of my curiosity... How are Mathematical Functions and Operators
support in the below case?
For example:
select to_timestamp( '2008-'||gs||'-1', 'YYYY-MM-DD')::date FROM
generate_series(1,12) AS gs WHERE (gs & 1) != 0
Can you do the & in the where clause if needed?
Ries
On Jul 23, 2008, at 1:45 AM, Karsten Dambekalns wrote:
> Hi Ries.
>
> ries van Twisk wrote:
>> What about,
>>
>> $query->_and($query->equals('name', $var)->equals('tag', $var2));
>
> I had thought about that, but usually (in the PHP world), the leading
> underscore denotes protected/private methods. So it might be
> misleading
> to some...
>
> Regards,
> Karsten
More information about the TYPO3-project-5_0-general
mailing list