get
Returns the field at index, cast to T.
Also written record[0], where the expected type is what fixes T - val id: Int = record[0].
A record is anonymous, so fields are reachable by position only - there are no names to ask by.
Return
The field value.
Parameters
index
Zero-based index in the order the record's columns were selected.
Type Parameters
T
The expected field type. Declare it nullable to accept a SQL NULL.