音频不加入默认未分组

pull/2288/head
kunfei 2 years ago
parent 862c1d9dbe
commit 7cd72a54e1
  1. 3
      app/src/main/java/io/legado/app/data/dao/BookDao.kt

@ -31,7 +31,8 @@ interface BookDao {
@Query(
"""
select * from books
where ((SELECT sum(groupId) FROM book_groups where groupId > 0) & `group`) = 0
where type != ${BookType.audio}
and ((SELECT sum(groupId) FROM book_groups where groupId > 0) & `group`) = 0
"""
)
fun flowNoGroup(): Flow<List<Book>>

Loading…
Cancel
Save