setElements

open override fun setElements(elements: Array<Any?>)
open override fun setElements(elements: List<Any?>)

The row is filled with the elements. Numeric elements are saved in numeric columns in the order presented. Non-numeric elements are all converted to strings and stored in the order presented. Numeric elements are of types {Double, Long, Integer, Boolean, Float, Short, Byte}. Any other type is converted to text via toString().

The order and types of the elements must match the order and types associated with the columns.

Parameters

elements

the elements to add to the row. The number of elements must be equal to the number of columns