1 year ago

Searchable Arrays in Database

Posted 1 year ago by geetpurwar

Hi, I need little bit here over here. I am creating a subscriber Model, which I need to separate into several segments depending on user's choice.

Example : A user may choose to subscribe for tech news, sports news etc. A subscriber may opt for single segments or multiple segments too. Say, he can opt for both tech news and sports news.

Now once all subscribers have this information updated, I need to have them searchable to send me appropriate news they have subscribed too.

Any suggestions how do I setup that in migration, model and search using eloquent.

Let me know. Thanks.

Please sign in or create an account to participate in this conversation.