Support the ongoing development of Laravel.io →

ron

Joined 20 Feb 2015

Statistics

Threads 0
Replies 1
Solutions 0
Articles 0

ron has not posted any threads yet

replied 9 years ago

Using array of values in query

Try this. $id_list = [5,9,13]; $data_list = DB::table('table') ->whereIn('id', $id_list)->g...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.