dimsuz
01/03/2022, 1:17 PM1.5.3
generates the following code in DatabaseImpl
and compilation fails with `Unresolved reference: _value`:
public override fun select_default_with_query(`value`: String): Query<UserWithSubscripiton> =
select_default_with_query(value_) { id, username, avatarTemplate, email -> ... }
Query is like this (simplified):
select_default_with_query:
SELECT *
FROM UserWithSubscripiton
WHERE username LIKE ('%' || ?1 || '%') OR email LIKE ('%' || ?1 || '%')
I copied it from the project with older sqldelight version where it worked.
Is this a bug or am I doing this wrong somehow?
Oh, and this is a KMP project now.