Realm: use '==' instead of '=' on query language.

This commit is contained in:
ganfra 2022-07-26 19:18:41 +02:00
parent 58788e27d5
commit 4b2043b64a

View File

@ -55,7 +55,7 @@ internal class RawCacheStore @Inject constructor(
private fun queryForUrl(realm: TypedRealm, url: String): RealmSingleQuery<RawCacheEntity> {
return realm
.query(RawCacheEntity::class, "url=$0", url)
.query(RawCacheEntity::class, "url == $0", url)
.first()
}
}