Data layer restructuring (#997)

* Move query builders to sqlite package
* Add transaction system
* Wrap model resolvers in transaction
* Add error return value for StringSliceToIntSlice
* Update/refactor mutation resolvers
* Convert query builders
* Remove unused join types
* Add stash id unit tests
* Use WAL journal mode
This commit is contained in:
WithoutPants
2021-01-18 12:23:20 +11:00
committed by GitHub
parent 7bae990c67
commit 1e04deb3d4
168 changed files with 12683 additions and 10863 deletions

View File

@@ -807,7 +807,7 @@ xPathScrapers:
globalConfig := GlobalConfig{}
performer, err := c.ScrapePerformerURL(ts.URL, globalConfig)
performer, err := c.ScrapePerformerURL(ts.URL, nil, globalConfig)
if err != nil {
t.Errorf("Error scraping performer: %s", err.Error())