1
vote
1answer
314 views

EntityFieldQuery causing column not found PDO exception

I have a very simple node type set up in drupal, see it here And I'm trying to get the node id based on the email field (the email is unique to each node, just like the nid). My query looks like ...
5
votes
4answers
1k views

Excluding empty(Null) fields when using EntityFieldQuery query condition

Is it possible to select all of the entities who's xyz field is empty? I tried soemthing like this: ->fieldCondition('field_name', 'value', NULL, 'IS NOT NULL'); However, this doesn't seem to ...
0
votes
2answers
462 views

SQL function with EntityFieldQuery

Is there a way to use SQL functions with the EntityFieldQuery class? What I am trying to do is something similar to the following code: $query_user = new EntityFieldQuery; $query_user ...