Realm: use '==' instead of '=' on query language.
This commit is contained in:
parent
58788e27d5
commit
4b2043b64a
@ -55,7 +55,7 @@ internal class RawCacheStore @Inject constructor(
|
|||||||
|
|
||||||
private fun queryForUrl(realm: TypedRealm, url: String): RealmSingleQuery<RawCacheEntity> {
|
private fun queryForUrl(realm: TypedRealm, url: String): RealmSingleQuery<RawCacheEntity> {
|
||||||
return realm
|
return realm
|
||||||
.query(RawCacheEntity::class, "url=$0", url)
|
.query(RawCacheEntity::class, "url == $0", url)
|
||||||
.first()
|
.first()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user