|
|
@ -30,8 +30,8 @@ interface BookDao { |
|
|
|
@Query("select * from books where bookUrl = :bookUrl") |
|
|
|
@Query("select * from books where bookUrl = :bookUrl") |
|
|
|
fun getBook(bookUrl: String): Book? |
|
|
|
fun getBook(bookUrl: String): Book? |
|
|
|
|
|
|
|
|
|
|
|
@Query("select * from books order by durChapterTime desc limit 1") |
|
|
|
@get:Query("select * from books order by durChapterTime desc limit 1") |
|
|
|
fun getLastReadBook(): Book? |
|
|
|
val lastReadBook: Book? |
|
|
|
|
|
|
|
|
|
|
|
@get:Query("SELECT bookUrl FROM books") |
|
|
|
@get:Query("SELECT bookUrl FROM books") |
|
|
|
val allBookUrls: List<String> |
|
|
|
val allBookUrls: List<String> |
|
|
|