mongor icon indicating copy to clipboard operation
mongor copied to clipboard

Mongor where with array

Open tusharvikky opened this issue 12 years ago • 0 comments

How can I implement the where clause by passing an array of values to it?

Model::where('field', array(1,2,3,4,5))->sort('field')->get();

Any help is appreciated.

tusharvikky avatar Jan 03 '13 20:01 tusharvikky