package shakuhachi
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=91dc3168bc12fdd6032c16f9990018fd54f91cea50d9f6eb798e4d5eecd9c6a6
sha512=a93c4bf39d80d2c595d361b393f0f1fd2fd078e5bd714988e835a0b5ac8c8c48d3b4cbe2e11d33c9168d9f2f44818b6a60e38b32773bd4967c24794abbf323dd
doc/shakuhachi.libs/Skhclibs/Collection/Artist/index.html
Module Collection.ArtistSource
Operations 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 sort :
(bool * ('a, 'b, 'c, 'd, 'e) SkhcQuery.Field.t) list ->
SkhcDb.Artist.t list ->
SkhcDb.Artist.t listsort keys artists is SkhcQuery.Query.sort_with_keys with SkhcQuery.Query.compare_artist_key.
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.