Add a record to the database and assign it the given ID.
this |
A media database. |
record |
A database record. |
id |
A database record ID. |
The ID for the newly added record. See also the notes for dmap_db_add regarding reference counting. |