QueryResult

class QueryResult(rows: List<QueryRow>, metadata: QueryMetadata)

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
inline fun <T> valueAs(name: String = "$", serializer: JsonSerializer? = null): T

Returns a field value from a result with exactly one row. Useful for getting the result of an aggregating function.

Properties

Link copied to clipboard
val metadata: QueryMetadata
Link copied to clipboard
val rows: List<QueryRow>