Inserts a new object into the database table.
This method automatically extracts all properties from the object (except 'id') and inserts them into the table. After insertion, the object's 'id' property is set to the newly generated row ID.
| newer |
The object to insert |
|
The ID of the newly inserted row |