Collection.ArtistSourceOperations on artists
val set_rating :
t ->
SkhcDb.Database.t ->
SkhcDb.Artist.t ->
int option ->
(SkhcDb.Artist.t, Sqlite3.Rc.t * string) resultset_rating collection database artist rating sets artist rating to rating. if SkhcDb.Artist.rating artist = rating, returns artist as is. Otherwise, call SkhcDb.Artist.update.
val set_flag :
t ->
SkhcDb.Database.t ->
SkhcDb.Artist.t ->
(SkhcDb.Artist.t, Sqlite3.Rc.t * string) resultset_flag collection database artist sets flag to true. if artist has already flag set to true, this functions returns artist as is. Otherwise, it calls SkhcDb.Artist.update.
val unset_flag :
t ->
SkhcDb.Database.t ->
SkhcDb.Artist.t ->
(SkhcDb.Artist.t, Sqlite3.Rc.t * string) resultunset_flag collection database artist sets flag to false. if artist has already flag set to false, this functions returns artist as is. Otherwise, it calls SkhcDb.Artist.update.
artwork library artist returns the cover bytes associated with artist in library. Returns None is artist doesn't have an artwork.
raise Sys_error if one of the underlying system calls fails.