insert


Description:

public int64 insert (T newer)

Inserts a new object into the database table.

This method inserts columns that map to writable GObject properties on newer (except id). Schema columns with no matching property are omitted so SQLite applies column DEFAULTs. After insertion, the object's 'id' property is set to the new row ID.

Parameters:

newer

The object to insert

Returns:

The ID of the newly inserted row