In addition to inserting records into the database, Query Builder can update existing records using the update method. The update method, like the insert method, must update the value by taking an array of columns and adding columns. You can apply the update query using clauses wherever you want to update.