Refactor autotag to use individual transactions (#3106)

* Add id filtering to scenes, images, and galleries
* Perform tagging in batches
* One transaction per object tagged
This commit is contained in:
WithoutPants
2022-11-14 17:07:24 +11:00
committed by GitHub
parent 4a054ab081
commit ce17230c13
18 changed files with 451 additions and 189 deletions

View File

@@ -6,6 +6,7 @@ type ImageFilterType struct {
And *ImageFilterType `json:"AND"`
Or *ImageFilterType `json:"OR"`
Not *ImageFilterType `json:"NOT"`
ID *IntCriterionInput `json:"id"`
Title *StringCriterionInput `json:"title"`
// Filter by file checksum
Checksum *StringCriterionInput `json:"checksum"`