DatabaseResource.insert

Builds and executes an insert SQL statement and inserts a table row with values obtained from mapped form fields. To perform operations on multiple records, first create a table, load the data, then use the Table#updateTable() method.

Further documentation.

returns int