mysql

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbumStore

type AlbumStore struct{}

func NewAlbumStore

func NewAlbumStore() *AlbumStore

func (*AlbumStore) Create

func (store *AlbumStore) Create(ctx context.Context, exe rdb.Executor, src model.AlbumSource) (*model.Album, error)

func (*AlbumStore) Delete

func (store *AlbumStore) Delete(ctx context.Context, exe rdb.Executor, ean string) error

func (*AlbumStore) Get

func (store *AlbumStore) Get(ctx context.Context, exe rdb.Executor, ean string) (*model.Album, error)

func (*AlbumStore) GetForUpdate

func (store *AlbumStore) GetForUpdate(ctx context.Context, exe rdb.Executor, ean string) (*model.Album, error)

func (*AlbumStore) ListAll

func (store *AlbumStore) ListAll(ctx context.Context, exe rdb.Executor) ([]*model.Album, error)

func (*AlbumStore) Update

func (store *AlbumStore) Update(ctx context.Context, exe rdb.Executor, ean string, params rdb.QueryParams) (*model.Album, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL