db_xor

Versions
7
db_xor()

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

Return value

DatabaseCondition

Related topics

Code

includes/database/query.inc, line 1376

<?php
function db_xor() {
  return new DatabaseCondition('XOR');
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.