1

I want to only return results in entityfieldquery that have a propertyCondition of 'field_entry_path' that is not empty.

  $query = new EntityFieldQuery();
  $query->entityCondition('entity_type', 'example')
        ->propertyCondition('field_entry_path', '', 'NOT IN');
  $result = $query->execute();

Thanks.

2

Unfortunately, it is impossible at the moment. See the workaround described on http://drupal.org/node/1226622.

0

According to the docs it is possible. See Excluding empty(Null) fields when using EntityFieldQuery query condition @Clive

Not the answer you're looking for? Browse other questions tagged or ask your own question.