db_xor

Definition

db_xor()
drupal/includes/database/query.inc, line 1382

Description

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

Return value

DatabaseCondition

Related topics

Namesort iconDescription
Database abstraction layerAllow the use of different database servers using the same code base.

Code

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