Changes between Initial Version and Version 1 of Ticket #24093, comment 31
- Timestamp:
- 10/14/2014 03:25:05 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24093, comment 31
initial v1 5 5 3. The next time you see a clause that has a meta_key that already has an alias, check to see whether the $parent_query has OR as a relation. If so, use the existing alias. 6 6 7 This will break down when you get several generations deep, though. If you have a query like this, I don't think you can combine the 'foo' and 'foo1' tables in this kind of query:7 This will break down when you get several generations deep, though. If you have a query like this, I don't think you can combine the 'foo' and 'foo1' tables, even though the $parent_query has relation=OR: 8 8 9 9 {{{