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

Added operand for json scopes #454

Merged
merged 3 commits into from
Jul 24, 2024
Merged

Conversation

rcerljenko
Copy link
Contributor

Hi,

I've added ability to choose operand for where clause in json scopes. For example:

$query->whereJsonContainsLocale('title', 'en', 'hello%', 'like');

@freekmurze
Copy link
Member

Could you document this in the readme and add a test to make sure it works?

@rcerljenko
Copy link
Contributor Author

Could you document this in the readme and add a test to make sure it works?

Sure thing! Just added them...

@freekmurze freekmurze merged commit 0ef7e8e into spatie:main Jul 24, 2024
19 checks passed
@freekmurze
Copy link
Member

Thanks!

@rcerljenko rcerljenko deleted the feature/operand branch July 24, 2024 14:45
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

Successfully merging this pull request may close these issues.

2 participants