pull/52/head
kunfei 5 years ago
parent 786f244568
commit b8b9cee76c
  1. 2
      app/src/main/java/io/legado/app/data/dao/BookDao.kt

@ -32,7 +32,7 @@ interface BookDao {
@Query("SELECT * FROM books WHERE bookUrl = :bookUrl")
fun getBook(bookUrl: String): Book?
@get:Query("SELECT * FROM books where origin <> '${BookType.local}'")
@get:Query("SELECT * FROM books where origin <> '${BookType.local}' and canUpdate = 1")
val hasUpdateBooks: List<Book>
@get:Query("SELECT * FROM books")

Loading…
Cancel
Save