insert


Description:

public int64 insert (T newer)

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.

Parameters:

newer

The object to insert

Returns:

The ID of the newly inserted row