Sunday, March 5, 2017

Call to a member function where() on integer

I got this error: Call to a member function where() on integer as I ran the code below

DB::table('level_one_models')->increment('followers', 1)
        ->where('active', '=', 1);



via Justin Chinonso Obi

Advertisement