Skip to content

Boolean literals in GQL causing zero results to return #157

@ikromin

Description

@ikromin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions