db_xor

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 db_xor()

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

Return value

DatabaseCondition

Related topics

Code

includes/database/database.inc, line 2649

<?php
function db_xor() {
  return new DatabaseCondition('XOR');
}
?>