Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
field system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2009 at 13:28 UTC
Updated:
20 Jul 2009 at 19:20 UTC
The PHPdoc fails to mention it, but field_attach_query() also natively supports 'NOT IN' operator (since DBTNG supports it too).
Could be useful for the 'cache field cache' pattern for 'reference' fields.
| Comment | File | Size | Author |
|---|---|---|---|
| field_query_NOT_IN.patch | 1.02 KB | yched |
Comments
Comment #1
bjaspan commentedI'm trusting you that it works; the doc change looks fine. :-)
Comment #2
dries commentedCommitted to CVS HEAD. Thanks!