优化
This commit is contained in:
@@ -30,9 +30,8 @@ interface BookDao {
|
|||||||
|
|
||||||
@Query(
|
@Query(
|
||||||
"""
|
"""
|
||||||
select * from books where type != ${BookType.audio}
|
select * from books
|
||||||
and origin != '${BookType.local}'
|
where ((SELECT sum(groupId) FROM book_groups where groupId > 0) & `group`) = 0
|
||||||
and ((SELECT sum(groupId) FROM book_groups where groupId > 0) & `group`) = 0
|
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
fun flowNoGroup(): Flow<List<Book>>
|
fun flowNoGroup(): Flow<List<Book>>
|
||||||
|
|||||||
Reference in New Issue
Block a user