Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FahimSakib opened this issue Feb 4, 2025 · 0 comments
Open

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

FahimSakib opened this issue Feb 4, 2025 · 0 comments

Comments

@FahimSakib
Copy link

FahimSakib commented Feb 4, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant