db_xor

  1. drupal
    1. 7
Versions
7 db_xor()

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

Return value

DatabaseCondition

Related topics

Code

drupal/includes/database/database.inc, line 2551

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