Mongodb with php query not searching array in find function

We added mysql database table script through insert into mondodb
Fetching all record in php but i am searching then record getting single only.
Please provide us searching functions
Like
In query
and
OR

Thanks & Regards
Devidas Shivaji Shinde

Hi @Deva_Shinde and welcome in the MongoDB community :muscle: !

Check out this blog post from @Michael_Lynn. I’m sure you will find almost everything you need.

It’s also easy to do a $or or the equivalent of a “like” using regex.

Cheers,
Maxime.