corearchivetest

package
v0.3.25 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	Db *pgxpool.Pool
}

func (Store) ArchiveById added in v0.1.17

func (s Store) ArchiveById(ctx context.Context, tx pgx.Tx, id int64) error

func (Store) ArchiveByUuid added in v0.1.17

func (s Store) ArchiveByUuid(ctx context.Context, tx pgx.Tx, id uuid.UUID) error

func (Store) GetMeta

func (s Store) GetMeta() lysmeta.Result

func (Store) GetName

func (s Store) GetName() string

func (Store) RestoreById added in v0.1.17

func (s Store) RestoreById(ctx context.Context, tx pgx.Tx, id int64) error

func (Store) RestoreByUuid added in v0.1.17

func (s Store) RestoreByUuid(ctx context.Context, tx pgx.Tx, id uuid.UUID) error

func (Store) Select

func (s Store) Select(ctx context.Context, params lyspg.SelectParams) (items []corearchivetestm.Model, unpagedCount lyspg.TotalCount, err error)

func (Store) SelectById

func (s Store) SelectById(ctx context.Context, id int64) (item corearchivetestm.Model, err error)

func (Store) SelectByUuid added in v0.1.17

func (s Store) SelectByUuid(ctx context.Context, id uuid.UUID) (item corearchivetestm.Model, err error)

Jump to

Keyboard shortcuts

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