Timeline for collection (a anb b) or ( b and a)
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 3, 2016 at 7:56 | comment | added | Qaisar Satti | no reason for down-vote? | |
Apr 27, 2016 at 11:58 | comment | added | fmrng |
Sorry, but I realised after I posted that what it was doing was WHERE ((url_from = '1') OR (url_to = '2')) AND ((url_from = '2') OR (url_to = '1')) , which is obviously not correct
|
|
Apr 27, 2016 at 11:53 | comment | added | Qaisar Satti | @fmrng i was not sure too that why i put as comment but I like your answer why the delete that. It is a great effort put it there. | |
Apr 27, 2016 at 11:49 | comment | added | fmrng |
Trying to figure out, it's kinda complicated... while your solution is easy and would probably work fine in this case (it's unlikely I guess that to and from are equal), it is not logically correct, since it would be true even for combinations that shouldn't be true, like url_from=1 AND url_to=1 .
|
|
Apr 27, 2016 at 11:30 | comment | added | Qaisar Satti | @fmrng still waiting for your answer | |
Apr 27, 2016 at 10:09 | comment | added | Mujahidh | @qaisar can you please help me in this question magento.stackexchange.com/questions/112860/… | |
Apr 27, 2016 at 10:03 | comment | added | esigns | That's the thing I need ) It will do the job. Thanks | |
Apr 27, 2016 at 10:02 | vote | accept | esigns | ||
Apr 27, 2016 at 9:53 | history | answered | Qaisar Satti | CC BY-SA 3.0 |