create vs insert – Laravel



Until today only difference, I knew between these functions was that create is used to insert one row in DB while insert can create more than one row at a time.
But its bit more than that 🙂
create cannot insert a row with custom id if id is defined as auto incremented as in most cases while insert can.

source

Reply


Build A Site Info