[drupal-devel] aggregator
Hi! What's the reason aggregator is using a lot of WHERE iid = $iid OR ... instead of WHERE iid IN($iid, ...) ?? Regards NK
Op woensdag 13 juli 2005 09:11, schreef Karoly Negyesi:
What's the reason aggregator is using a lot of WHERE iid = $iid OR ... instead of WHERE iid IN($iid, ...) ?? AFAIK posgre know in() too, so I think this is an old crufty leftover from times where we did not have such good SQL knowledge :)
Regards, Bèr -- [ Bèr Kessels | Drupal services www.webschuur.com ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13 Jul 2005, at 9:54 AM, Bèr Kessels wrote:
Op woensdag 13 juli 2005 09:11, schreef Karoly Negyesi:
What's the reason aggregator is using a lot of WHERE iid = $iid OR ... instead of WHERE iid IN($iid, ...) ??
AFAIK posgre know in() too, so I think this is an old crufty leftover from times where we did not have such good SQL knowledge :)
postgres definitely has in() - -- Adrian Rossouw Drupal developer and Bryght Guy http://drupal.org | http://bryght.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFC1QIzgegMqdGlkasRAnbGAKDka1Sf0L0YctcbAoo34LkU+BQ6ygCfUQ0Y WE6qw/P4MD8sS0A4vFj5Z/A= =U6VW -----END PGP SIGNATURE-----
participants (3)
-
Adrian Rossouw -
Bèr Kessels -
Karoly Negyesi