hasColumn

fun hasColumn(columnName: String): Boolean

Whether this result has a column called columnName.

The question getColumnIndex answers by raising, for code whose result shape is not fixed - a projection assembled at runtime, a RETURNING that varies. Asking is cheaper than catching, and reads as the question it is.

Return

true where a column carries that name.

Parameters

columnName

The name to look for.