Closed
Description
Just trying to implement the simple example from the Query Builder docs:
$first = DB::table('users')
->whereNull('first_name');
$users = DB::table('users')
->whereNull('last_name')
->union($first)
->get();
$first = DB::table('content')
->where('type' , '=', 'webcast');
$second = DB::table('content')
->where('type', '=', 'video')
->union($first)
->get();
All I end up being returned is the results of the second query. Both queries individually return the expected data.
Metadata
Metadata
Assignees
Labels
No labels