Same name and namespace in other branches
  1. 8.9.x core/includes/database.inc \db_xor()

Returns a new DatabaseCondition, set to "XOR" all conditions together.

Return value

DatabaseCondition

Related topics

File

includes/database/database.inc, line 2800
Core systems for the database layer.

Code

function db_xor() {
  return new DatabaseCondition('XOR');
}