Insert(): This function is simply used to insert a record into the database. It not necessary that ID should be autoincremented. InsertGetId(): This function also inserts a record into the table, but it is used when the ID field is auto-increment. Post navigation How will you check table is exists or in the database? Explain active record concept in Laravel.