get
Returns the element at index in the flat element list, cast to T.
Also written array[0], where the expected type is what fixes T - val id: Int = array[0].
Return
The element.
Parameters
index
Zero-based index into elements, regardless of the array's PostgreSQL lower bound.
Type Parameters
T
The expected element type. Declare it nullable to accept a SQL NULL element.