Documentation ¶
Index ¶
- func Create(ctx context.Context, conn repository.Querier, state *model.DbCar) error
- func DeleteByEventId(ctx context.Context, conn repository.Querier, eventID int) (int, error)
- func LoadByEventId(ctx context.Context, conn repository.Querier, eventID int) ([]*model.DbCar, error)
- func LoadLatestByEventId(ctx context.Context, conn repository.Querier, eventID int) (*model.DbCar, error)
- func LoadLatestByEventKey(ctx context.Context, conn repository.Querier, eventKey string) (*model.DbCar, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteByEventId ¶
deletes all entries for an event with eventID
func LoadByEventId ¶
func LoadLatestByEventId ¶
func LoadLatestByEventKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.