Some of my entries have the optional plaintext field myCustomField
. I want to retrieve all entries except those where myCustomField
is filled out.
I can get all entries that have an empty myCustomField
craft.entries({
myCustomField: ':empty:',
})
but that doesn't include entries that don't have the field myCustomField
.