db_xor

Definition

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

Description

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

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');
}