Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel model where

$post = Post::where('id', $id);

$users = DB::table('users')->whereIn('id', array(1, 2, 3))->get();
 
PREVIOUS NEXT
Tagged: #laravel #model
ADD COMMENT
Topic
Name
2+1 =