Having revisited this example today because I was struggling to insert data, it's nothing like detailed enough!

The arguments to insert() are 1) an array of the columns to insert data into and 2) an array of arrays where the inner arrays each represent a row.