So I want to QUERY the database for the contents of a field, the trouble is the field is a ckeditor field, so how do I write the condition correctly?
Normally it would be something like this:
$query = Drupal::entityTypeManager()->getStorage('node')->getQuery();
$query->condition('field_ckeditor_field', $value_to_match); (edited)
But for CKEditor fields there is a _value and _format column in the db too, I want to make my string to the contents of the _value column.
Any suggestions?