I would like to print this query as normal SQL.

$query = \Drupal::entityQuery('node');

Any help on this is appreciated.

Comments

jithinantony created an issue. See original summary.

gabesullice’s picture

Status: Active » Closed (won't fix)

This module is no longer maintained. Please see maintainer's note in the project description.

natemow’s picture

Try this:

$query = \Drupal::entityQuery('node')
  ->addTag('debug')
  ->execute();
jithinantony’s picture

Thank you! This works.