I have a content type with a
field_FOO of type
text. I have a procedure that check which nodes have this
field_FOO without value (
$node->field_FOO == array() ), extract 1 at random, make some operations, set a value for this field (
field_FOO[LANGUAGE_NONE]['value'] = 'bar') and save the node.
Now for 10.000+ nodes I need to delete this value but I don't want to do a
node_save because for every
node_save Drupal change the changed date associated with that nodes.
So, how can I "delete" the value of a field without use
node_save()? If I delete the entry from
field_data_field_FOO table I risk a site down ?
field_data_field_FOO table there is a "deleted" column. If I set it to 1, at the next
hook_cron() that fields are deleted without a site down ?