pull/32/head
kunfei 5 years ago
parent 78cdea0b1b
commit f9b2e7f7a8
  1. 2
      app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt

@ -45,7 +45,7 @@ interface ReplaceRuleDao {
)
fun findEnabledByScope(name: String, origin: String): List<ReplaceRule>
@Query("select `group` from replace_rules")
@Query("select `group` from replace_rules where `group` is not null and `group` <> ''")
fun liveGroup(): LiveData<List<String>>
@Query("select * from replace_rules where `group` like '%' || :group || '%'")

Loading…
Cancel
Save