function db_xor

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

Return value

Condition

Related topics

File

drupal/core/includes/database.inc, line 553
Core systems for the database layer.

Code

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