Documentation ¶
Index ¶
- type AddTrackParams
- type AddTracklistParams
- type AddTracklistTrackParams
- type DBTX
- type GetMostPlayedTracksRow
- type GetTrackByArtistAndNameParams
- type GetTrackByArtistAndNameRow
- type GetTrackRow
- type GetTracklistWithTracksRow
- type GetTracklistsByTrackParams
- type GetTracklistsByTrackRow
- type GetTracklistsParams
- type GetTracklistsRow
- type GetTracksByQueryParams
- type GetTracksByQueryRow
- type Queries
- func (q *Queries) AddTrack(ctx context.Context, arg AddTrackParams) error
- func (q *Queries) AddTracklist(ctx context.Context, arg AddTracklistParams) (*Tracklist, error)
- func (q *Queries) AddTracklistTrack(ctx context.Context, arg AddTracklistTrackParams) error
- func (q *Queries) CountTracklists(ctx context.Context) (int64, error)
- func (q *Queries) CountTracklistsByTrack(ctx context.Context, trackID string) (int64, error)
- func (q *Queries) GetMostPlayedTracks(ctx context.Context, limit int32) ([]*GetMostPlayedTracksRow, error)
- func (q *Queries) GetTrack(ctx context.Context, id string) (*GetTrackRow, error)
- func (q *Queries) GetTrackByArtistAndName(ctx context.Context, arg GetTrackByArtistAndNameParams) (*GetTrackByArtistAndNameRow, error)
- func (q *Queries) GetTracklistWithTracks(ctx context.Context, id string) ([]*GetTracklistWithTracksRow, error)
- func (q *Queries) GetTracklists(ctx context.Context, arg GetTracklistsParams) ([]*GetTracklistsRow, error)
- func (q *Queries) GetTracklistsByTrack(ctx context.Context, arg GetTracklistsByTrackParams) ([]*GetTracklistsByTrackRow, error)
- func (q *Queries) GetTracksByQuery(ctx context.Context, arg GetTracksByQueryParams) ([]*GetTracksByQueryRow, error)
- func (q *Queries) UpdateTracklist(ctx context.Context, arg UpdateTracklistParams) (*Tracklist, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Track
- type Tracklist
- type UpdateTracklistParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTrackParams ¶
type AddTracklistParams ¶
type AddTracklistTrackParams ¶
type GetMostPlayedTracksRow ¶
type GetTrackRow ¶
type GetTracklistsByTrackRow ¶
type GetTracklistsParams ¶
type GetTracklistsRow ¶
type GetTracksByQueryParams ¶
type GetTracksByQueryRow ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AddTrack ¶
func (q *Queries) AddTrack(ctx context.Context, arg AddTrackParams) error
func (*Queries) AddTracklist ¶
func (*Queries) AddTracklistTrack ¶
func (q *Queries) AddTracklistTrack(ctx context.Context, arg AddTracklistTrackParams) error
func (*Queries) CountTracklists ¶
func (*Queries) CountTracklistsByTrack ¶
func (*Queries) GetMostPlayedTracks ¶
func (*Queries) GetTrackByArtistAndName ¶
func (q *Queries) GetTrackByArtistAndName(ctx context.Context, arg GetTrackByArtistAndNameParams) (*GetTrackByArtistAndNameRow, error)
func (*Queries) GetTracklistWithTracks ¶
func (*Queries) GetTracklists ¶
func (q *Queries) GetTracklists(ctx context.Context, arg GetTracklistsParams) ([]*GetTracklistsRow, error)
func (*Queries) GetTracklistsByTrack ¶
func (q *Queries) GetTracklistsByTrack(ctx context.Context, arg GetTracklistsByTrackParams) ([]*GetTracklistsByTrackRow, error)
func (*Queries) GetTracksByQuery ¶
func (q *Queries) GetTracksByQuery(ctx context.Context, arg GetTracksByQueryParams) ([]*GetTracksByQueryRow, error)
func (*Queries) UpdateTracklist ¶
Click to show internal directories.
Click to hide internal directories.