Chapter backup optimization
From fc6d9aaf51 (diff-9872ccc3c9af14d2872ec99199409e60a11cb754ab23e733b1d45843778f7c95R24)
(cherry picked from commit 79c3767fff90b5cbeb9529cf56e9077a6cfa145a)
This commit is contained in:
parent
14db2351c6
commit
f91837a019
@ -21,8 +21,8 @@ class ChapterBackupPutResolver : PutResolver<Chapter>() {
|
||||
|
||||
fun mapToUpdateQuery(chapter: Chapter) = UpdateQuery.builder()
|
||||
.table(ChapterTable.TABLE)
|
||||
.where("${ChapterTable.COL_URL} = ?")
|
||||
.whereArgs(chapter.url)
|
||||
.where("${ChapterTable.COL_ID} = ?")
|
||||
.whereArgs(chapter.id)
|
||||
.build()
|
||||
|
||||
fun mapToContentValues(chapter: Chapter) =
|
||||
|
Loading…
x
Reference in New Issue
Block a user