add_with_id


Description:

[ CCode ( cname = "dmap_db_add_with_id" ) ]
public abstract uint add_with_id (Db db, DMAPRecord record, uint id)

Add a record to the database and assign it the given ID.

Parameters:

this

A media database.

record

A database record.

id

A database record ID.

Returns:

The ID for the newly added record.

See also the notes for dmap_db_add regarding reference counting.