add


Description:

public abstract uint add (Record record)

Add a record to the database.

Parameters:

this

A media database.

record

A database record.

Returns:

The ID for the newly added record. A reference to the record will be retained by the database (if required; an adapter-type implementation may not want to retain a reference as the record data may be placed elsewhere). In all cases, the record should be unrefed by the calling code.




2022 vala-language.org