Skip to content

orWhere() and andWhere() Not Working in Query #547

Open
@FahimSakib

Description

@FahimSakib

I am facing an issue with the orWhere() and andWhere() query functions. Whenever I use orWhere(), it returns an empty response. I couldn't find any documentation related to these functions, so I'm unsure if I'm using them correctly.

Here’s the code snippet I’m using:

 $query = $inbox->query()
    ->where('FROM', $this->fromEmailAddress)
    ->orWhere(function ($query) {
        $query->where('SUBJECT', 'Test');
    });

Could you please confirm whether orWhere() and andWhere() are supported? If so, am I using them correctly? Any guidance or documentation would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions