function SearchApiStringFilter::op_empty in Search API Extended String Filter 7
File
- includes/
handler_filter_string.inc, line 324
Class
Code
function op_empty($field) {
if ($this->operator == 'empty') {
$operator = "IS NULL";
}
else {
$operator = "IS NOT NULL";
}
$this->query
->add_where($field, NULL, $operator, $this->options['group']);
}