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

script type="text/javascript" src="http://aos-creative.prf.hn/creative/camref:100l3Rd/creativeref:10l3694">

Reply


Build A Site Info