
io.vertx.kotlin.ext.sql.ResultSet.kt Maven / Gradle / Ivy
package io.vertx.kotlin.ext.sql
import io.vertx.ext.sql.ResultSet
/**
* A function providing a DSL for building [io.vertx.ext.sql.ResultSet] objects.
*
* Represents the results of a SQL query.
*
* It contains a list for the column names of the results, and a list of JsonArray
- one for each row of the
* results.
*
* @param columnNames Get the column names
* @param next Get the next result set
* @param output Get the registered outputs
* @param results Get the results
*
*
* NOTE: This function has been automatically generated from the [io.vertx.ext.sql.ResultSet original] using Vert.x codegen.
*/
fun ResultSet(
columnNames: Iterable? = null,
next: io.vertx.ext.sql.ResultSet? = null,
output: io.vertx.core.json.JsonArray? = null,
results: Iterable? = null): ResultSet = io.vertx.ext.sql.ResultSet().apply {
if (columnNames != null) {
this.setColumnNames(columnNames.toList())
}
if (next != null) {
this.setNext(next)
}
if (output != null) {
this.setOutput(output)
}
if (results != null) {
this.setResults(results.toList())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy