mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Studio Tagger (#3510)
* Studio image and parent studio support in scene tagger * Refactor studio backend and add studio tagger --------- Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -14,6 +14,12 @@ type Queryer interface {
|
||||
Query(ctx context.Context, studioFilter *models.StudioFilterType, findFilter *models.FindFilterType) ([]*models.Studio, int, error)
|
||||
}
|
||||
|
||||
type FinderQueryer interface {
|
||||
Finder
|
||||
Queryer
|
||||
models.AliasLoader
|
||||
}
|
||||
|
||||
func ByName(ctx context.Context, qb Queryer, name string) (*models.Studio, error) {
|
||||
f := &models.StudioFilterType{
|
||||
Name: &models.StringCriterionInput{
|
||||
|
||||
Reference in New Issue
Block a user