Comments (6)
I think we can implement it as chainable method for each content type or for overall, e.g:
// specific content type
Indonesia::search('sra')->getProvince();
Indonesia::search('karang')->paginateProvince();
Indonesia::search('solo')->getCities();
// all content type
Indonesia::search('kotaba')->get();
from indonesia.
Do you mean the search from Laravel Scout in Laravel 5.3?
from indonesia.
How it work under the hood was up to you, just make the API consistent with
Laravel.
On 26 Aug 2016 16:00, "Adhatama" [email protected] wrote:
Do you mean the search from Laravel Scout
https://www.laravel.com/docs/5.3/scout#searching in Laravel 5.3?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJI1PAcw2BWZdfWq71zAyc6KhUmXAh-ks5qjqsggaJpZM4JsywW
.
from indonesia.
Simple search using LIKE might be enough.
On 26 Aug 2016 16:25, "bayu hendra" [email protected] wrote:
How it work under the hood was up to you, just make the API consistent
with Laravel.On 26 Aug 2016 16:00, "Adhatama" [email protected] wrote:
Do you mean the search from Laravel Scout
https://www.laravel.com/docs/5.3/scout#searching in Laravel 5.3?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJI1PAcw2BWZdfWq71zAyc6KhUmXAh-ks5qjqsggaJpZM4JsywW
.
from indonesia.
@uyab What do you think about this results for search all? Which is better?
[
'provinces' => Collections,
'cities' => Collections
...
]
or
[
Province Object,
Province Object,
City Object,
City Object,
...
]
from indonesia.
The second is better
from indonesia.
Related Issues (20)
- Update Database (Wilayah Pemekaran) HOT 3
- Bisa di update require illuminate/support HOT 1
- Tidak berjalan dengan baik di laravel 6 HOT 1
- Update kode wilayah HOT 1
- Tambah surrogate
- Pakek untuk laravel 5.6 tidak Support HOT 2
- Laravolt Suitable Dependency HOT 1
- Belum support Laravel 7.0 HOT 1
- update kecamatan di banyuwangi HOT 1
- min di saya kok cuma ada 514 kota, dan gk ada kayak bandung,jakarta,malang, dll HOT 1
- Request support for laravel 8 HOT 5
- I've got this error when running composer require laravolt/indonesia HOT 2
- Saya coba Install package pada laravel 6 terjadi error kenapa ya? HOT 1
- Memperbarui meta + tambah postal code HOT 1
- CSV Parse Error
- Migration error using SQL Server as Database Engine. HOT 4
- Laravel 9 Support
- change in 'code' vs 'id' (?)
- Code districts & villages does not match with source HOT 6
- Class "Geocoder" not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indonesia.