I tried to figure out which one to use, and if I should use both.
Looked at the Laravel docs, and they are both there. From what I can make of this, it DB::insert()provides a more "individual" request than DB::table()->insert()it does.
Can anyone clarify exactly what the difference is in how and when to use which?
source
share