Closed jp-jsr-group closed 5 years ago
I am getting an error when I am using the $query = DB::table('users AS u')->leftJoin
$query = DB::table('users AS u')->leftJoin
But when I use $query = User::leftJoin
$query = User::leftJoin
Is this just me or it is really a bug when using DB::table()?
You can't use DB::table(); package works only with Eloquent.
DB::table()
I am getting an error when I am using the
$query = DB::table('users AS u')->leftJoin
But when I use
$query = User::leftJoin
Is this just me or it is really a bug when using DB::table()?