Documentation
¶
Index ¶
- type Input
- type Model
- type Store
- func (s Store) Delete(ctx context.Context, id uuid.UUID) error
- func (s Store) GetName() string
- func (s Store) GetPlan() lysmeta.Plan
- func (s Store) Insert(ctx context.Context, input Input) (newId uuid.UUID, err 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, id uuid.UUID) (item Model, err error)
- func (s Store) Update(ctx context.Context, input Input, id uuid.UUID) error
- func (s Store) UpdatePartial(ctx context.Context, assignmentsMap map[string]any, id uuid.UUID) 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.