Changeset 33231
- Timestamp:
- 07/13/2015 09:43:05 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/meta.php
r32713 r33231 1591 1591 1592 1592 /** 1593 * Check whether the current query has any OR relations.1594 * 1595 * In some cases, the presence of an OR relation somewhere in the query will require the use of a DISTINCT or1596 * GROUP BY keyword in the SELECT clause. The current method can be used in these cases to determine whether1597 * such a clause is necessary.1593 * Checks whether the current query has any OR relations. 1594 * 1595 * In some cases, the presence of an OR relation somewhere in the query will require 1596 * the use of a `DISTINCT` or `GROUP BY` keyword in the `SELECT` clause. The current 1597 * method can be used in these cases to determine whether such a clause is necessary. 1598 1598 * 1599 1599 * @since 4.3.0 1600 1600 * 1601 * @return bool True if the query contains any ORrelations, otherwise false.1601 * @return bool True if the query contains any `OR` relations, otherwise false. 1602 1602 */ 1603 1603 public function has_or_relation() {
Note: See TracChangeset
for help on using the changeset viewer.