<return ResultRow for kotlin exposed upsert> I am ...
# stackoverflow
u
return ResultRow for kotlin exposed upsert I am using kotlin-exposed for update/upsert query , I could see that update query return int whereas upsert returns unit, I was looking for a work around where I can find the updated resultRow if it is feasible. the current repository layer looks something like this suspend fun set(entity: SomeEntity) suspend fun get(entityId: Int): SomeEntity? here get is using EntityTable.select { }.firstOrNull() and I am able to map it back to my entity , whereas in set I have options of using upsert or...