jw
05/16/2025, 6:23 PMPablichjenkov
05/16/2025, 6:41 PMMichael Paus
05/17/2025, 7:11 AMvar primaryDevice: PrimaryDevice
set(value) = queries.insertOrReplaceProperty(PRIMARY_DEVICE_KEY, value.toString())
Return type mismatch: expected 'Unit', actual 'QueryResult<Long>'.
The reason is that the generated insertOrReplaceProperty
method now returns the row count. See: https://github.com/sqldelight/sqldelight/pull/4578
To make this compile again you have to change the =
to using {}
https://github.com/sqldelight/sqldelight/issues/5750