I've noticed that Boolean literals are causing GQL to return incorrect results. When I run my query like this:
$ent = $this->data->fetchAll(
'SELECT * FROM MyEntity WHERE open = @open ORDER BY date DESC',
['open' => true]);
I get results back, however when I use a literal in the GQL like this:
$ent = $this->data->fetchAll(
'SELECT * FROM MyEntity WHERE open = true ORDER BY date DESC');
no results are returned.
Is this expected?