autobrr/internal/database
Kyle Sanderson 19b3899a5c
refactor(database): clean-up queries (#569)
* fix(database): build WHERE using squirrel

* flip LIKEs

* change sql.LevelReadCommitted

* feat(db): add missing commits

* implement single query for releases

* cleanup

* feat(releases): properly handle limit for Find

* feat(releases): make dynamic ILike helper

* feat(releases): check for empty ReleaseActionStatus

* add values as sql.NullX
* check if ID is non 0

* feat(releases): improve find
2022-12-30 23:53:45 +01:00
..
action.go refactor(database): clean-up queries (#569) 2022-12-30 23:53:45 +01:00
api.go refactor(database): clean-up queries (#569) 2022-12-30 23:53:45 +01:00
database.go refactor(database): clean-up queries (#569) 2022-12-30 23:53:45 +01:00
download_client.go refactor(database): clean-up queries (#569) 2022-12-30 23:53:45 +01:00
feed.go refactor(database): clean-up queries (#569) 2022-12-30 23:53:45 +01:00
feed_cache.go refactor(database): clean-up queries (#569) 2022-12-30 23:53:45 +01:00
filter.go refactor(database): clean-up queries (#569) 2022-12-30 23:53:45 +01:00
indexer.go refactor(database): clean-up queries (#569) 2022-12-30 23:53:45 +01:00
irc.go refactor(database): clean-up queries (#569) 2022-12-30 23:53:45 +01:00
notification.go refactor(database): clean-up queries (#569) 2022-12-30 23:53:45 +01:00
postgres.go feat(actions): qbit add options content layout and skip hash check (#393) 2022-08-02 18:06:45 +02:00
postgres_migrate.go feat(filters): smart episode (#563) 2022-12-14 19:07:04 +01:00
release.go refactor(database): clean-up queries (#569) 2022-12-30 23:53:45 +01:00
sqlite.go feat(actions): qbit add options content layout and skip hash check (#393) 2022-08-02 18:06:45 +02:00
sqlite_migrate.go feat(filters): smart episode (#563) 2022-12-14 19:07:04 +01:00
user.go refactor(database): clean-up queries (#569) 2022-12-30 23:53:45 +01:00
utils.go feat(actions): qbit rules set ratio and seed time limits (#264) 2022-05-03 14:57:47 +02:00
utils_test.go Fix: Performance issues and sqlite locking (#74) 2022-01-11 19:35:27 +01:00