pull/457/head
口口吕 4 years ago
parent 2ecd94ffde
commit 39676981d1
  1. 2
      app/src/main/java/io/legado/app/data/dao/BookDao.kt

@ -45,7 +45,7 @@ interface BookDao {
@get:Query("select count(bookUrl) from books where (SELECT sum(groupId) FROM book_groups) & `group` = 0")
val noGroupSize: Int
@Query("select count(bookUrl) from books where (SELECT sum(groupId) FROM book_groups) & `group` = :groupId")
@Query("select count(bookUrl) from books where `group` = :groupId")
fun groupCount(groupId: Long): Int
@get:Query("SELECT count(*) FROM books where origin = '${BookType.local}'")

Loading…
Cancel
Save