[TYPO3-50-general] Competition: Best replacement for "and"/"or" wanted!
Christoph Blömer
chbloemer at gmx.net
Wed Jul 23 13:13:21 CEST 2008
Hi,
what about:
and = intersect
or = union
Thats more from the view of the theory of sets.
If I use "and" I restrict the set of available Rows in the database.
When I use "or" I expand the set of available Rows.
Regards,
Christoph
Karsten Dambekalns schrieb:
> 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
> _______________________________________________
> TYPO3-project-5_0-general mailing list
> TYPO3-project-5_0-general at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-5_0-general
>
>
More information about the TYPO3-project-5_0-general
mailing list