shakuhachi.database
SkhcDb.Participant
Operation on a participant.
shakuhachi.config
shakuhachi.libs
shakuhachi.metadata
shakuhachi.plugin
shakuhachi.query
shakuhachi.util
type t
type of the participant.
val compare : t -> t -> int
compare p1 p2 is Stdlib.compare p1 p2.
compare p1 p2
Stdlib.compare p1 p2
val equal : t -> t -> bool
equal p1 p2 tests whether p1 equals p2.
equal p1 p2
p1
p2
val init : int64 -> Role.t -> t
init id role creates a new participant by associating an artist id with its role.
init id role
id
role
val to_yojson : t -> Yojson.Safe.t
val artist : t -> int64
artist participant returns the id associated with participant.
artist participant
participant
val role : t -> Role.t
role participant returns the role associated with participant.
role participant