Documentation ¶
Index ¶
- type Input
- type Model
- type Store
- func (s Store) ArchiveById(ctx context.Context, tx pgx.Tx, id int64) error
- func (s Store) ArchiveByUuid(ctx context.Context, tx pgx.Tx, id uuid.UUID) error
- func (s Store) GetMeta() lysmeta.Result
- func (s Store) GetName() string
- func (s Store) RestoreById(ctx context.Context, tx pgx.Tx, id int64) error
- func (s Store) RestoreByUuid(ctx context.Context, tx pgx.Tx, id uuid.UUID) error
- func (s Store) Select(ctx context.Context, params lyspg.SelectParams) (items []Model, unpagedCount lyspg.TotalCount, err error)
- func (s Store) SelectById(ctx context.Context, fields []string, id int64) (item Model, err error)
- func (s Store) SelectByUuid(ctx context.Context, fields []string, id uuid.UUID) (item Model, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
func (Store) ArchiveById ¶ added in v0.1.17
func (Store) ArchiveByUuid ¶ added in v0.1.17
func (Store) RestoreById ¶ added in v0.1.17
func (Store) RestoreByUuid ¶ added in v0.1.17
func (Store) Select ¶
func (s Store) Select(ctx context.Context, params lyspg.SelectParams) (items []Model, unpagedCount lyspg.TotalCount, err error)
func (Store) SelectById ¶
Click to show internal directories.
Click to hide internal directories.