DB::table('table')->where(column1=1 and column2=3); laravel code example
Example 1: laravel model particular column
Table::select('column1', 'column2')
->where('checker', 'value')
->get();
Example 2: laravel find query
foreach (Flight::where('foo', 'bar')->cursor() as $flight) {
//
}