joinTo

fun <A : Appendable> Query.joinTo(buffer: A, separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (row: QueryRowSet) -> CharSequence): A(source)

Append the string from all rows separated using separator and using the given prefix and postfix if supplied.

If the query result could be huge, you can specify a non-negative value of limit, in which case only the first limit rows will be appended, followed by the truncated string (which defaults to "...").

Since

3.0.0