Module exposing: Select, Insert, UpdateDelete, Error
// Source: https://github.com/openflocon/Flocon | License: MIT | Copyright 2025 OpenFlocon
// Provided via justclaw.it.com; keep this notice with the code.
package io.github.openflocon.flocon.database.core.model.fromdevice
sealed interface DatabaseExecuteResponse
sealed interface DatabaseExecuteSqlResponse : DatabaseExecuteResponse {
class Select(
val columns: List<String>,
val values: List<List<String?>>
) : DatabaseExecuteSqlResponse
class Insert(
val insertedId: Long
) : DatabaseExecuteSqlResponse
class UpdateDelete(
val affectedCount: Int
) : DatabaseExecuteSqlResponse
object RawSuccess : DatabaseExecuteSqlResponse
class Error(
val message: String = "",
val originalSql: String = "",
) : DatabaseE
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key