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

how to get country list by languages only ? #54

Closed
8lbiasian opened this issue Apr 30, 2017 · 2 comments
Closed

how to get country list by languages only ? #54

8lbiasian opened this issue Apr 30, 2017 · 2 comments

Comments

@8lbiasian
Copy link

i try to do this
\Rinvex\Country\CountryLoader::where('languages', 'Arabic');

but its not working
even i try with passing an array ['value' => 'Arabic']
but also same issue

can anyone help me with this

thank you.

@pierrocknroll
Copy link

Did you find a solution ?

@Omranic Omranic reopened this Feb 26, 2018
@Omranic
Copy link
Member

Omranic commented Sep 27, 2021

The right way to do that search is as follows:
\Rinvex\Country\CountryLoader::where('languages', ['eng' => 'English']);

I know it's not intuitive, maybe we can simplify the API in the future. PRs are welcome 🙂

@Omranic Omranic closed this as completed Sep 27, 2021
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

3 participants