QueryResult

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

Constructors

Link copied to clipboard
constructor(rows: List<QueryRow>, metadata: QueryMetadata)

Properties

Link copied to clipboard
Link copied to clipboard

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.