I don't understand why a '\' is written before the SQL statement.
平庸  ^
平庸 ^ 2019-07-30 11:18:40
0
2
1104

\DB::table();Why do we need to write this slash \ in the teaching video, but the laravel manual demonstration does not require it

平庸  ^
平庸 ^

reply all(2)
平庸  ^

Got it, thanks

像风一样自由

If you add this line above, use Illuminate\Support\Facades\DB;

you don’t need to write it\

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template