Documentation ¶
Index ¶
- type SQL
- func (sql *SQL) BatchUpdate(ctx context.Context, data []entity.Studio) (int, error)
- func (sql *SQL) Get(ctx context.Context, data entity.GetRequest) ([]*entity.Studio, int, int, error)
- func (sql *SQL) GetByID(ctx context.Context, id int64) (*entity.Studio, int, error)
- func (sql *SQL) GetByIDs(ctx context.Context, ids []int64) ([]*entity.Studio, int, error)
- func (sql *SQL) GetHistories(ctx context.Context, data entity.GetHistoriesRequest) ([]entity.History, int, error)
- type Studio
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQL ¶
type SQL struct {
// contains filtered or unexported fields
}
SQL contains functions for studio sql database.
func (*SQL) BatchUpdate ¶
BatchUpdate to batch update studio.
func (*SQL) Get ¶ added in v0.10.0
func (sql *SQL) Get(ctx context.Context, data entity.GetRequest) ([]*entity.Studio, int, int, error)
Get to get list.
Click to show internal directories.
Click to hide internal directories.