Add slim endpoints for entities to speed up filters (#460)

* Move performers image column to end of table
* Remove redundant index
This commit is contained in:
InfiniteTF
2020-04-19 04:03:51 +02:00
committed by GitHub
parent 7ef0000744
commit 2a3c9742cc
14 changed files with 156 additions and 12 deletions

View File

@@ -25,3 +25,8 @@ func (r *queryResolver) AllStudios(ctx context.Context) ([]*models.Studio, error
qb := models.NewStudioQueryBuilder()
return qb.All()
}
func (r *queryResolver) AllStudiosSlim(ctx context.Context) ([]*models.Studio, error) {
qb := models.NewStudioQueryBuilder()
return qb.AllSlim()
}