in entity query,How to use another field as the conditional value?
like this:
$entity_query=\Drupal::entityQuery("node", 'AND');
$entity_query->condition("field_A", "field_B", '>');
But this doesn't work
because in "condition($field, $value = NULL, $operator = NULL, $langcode = NULL)"
$value just is a scalar or array
I can think of solutions: :
first step :add query tag
second step : Implement query hooks