Documentation ¶
Index ¶
- type Input
- type Model
- type Store
- func (s Store) Delete(ctx context.Context, id int64) error
- func (s Store) GetMeta() lysmeta.Result
- func (s Store) GetName() string
- func (s Store) Insert(ctx context.Context, input Input) (newId int64, err error)
- func (s Store) Select(ctx context.Context, params lyspg.SelectParams) (items []Model, unpagedCount lyspg.TotalCount, err error)
- func (s Store) Select10(ctx context.Context) (vals []int, err error)
- func (s Store) SelectById(ctx context.Context, fields []string, id int64) (item Model, err error)
- func (s Store) Update(ctx context.Context, input Input, id int64) error
- func (s Store) UpdatePartial(ctx context.Context, assignmentsMap map[string]any, id int64) error
- func (s Store) Validate(validate *validator.Validate, input Input) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
func (Store) Select ¶
func (s Store) Select(ctx context.Context, params lyspg.SelectParams) (items []Model, unpagedCount lyspg.TotalCount, err error)
func (Store) SelectById ¶
func (Store) UpdatePartial ¶
Click to show internal directories.
Click to hide internal directories.