Skip to content

Commit

Permalink
Fixes an issue with case-sensitivity of comparison between column names.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppanopticon committed Dec 10, 2023
1 parent bf46aea commit ced2ad3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ interface Tuple {
* @param column The simple name to check.
* @return The column index or -1. of name is not part of this [Tuple].
*/
fun indexOf(column: String): Int = this.columns.indexOfFirst { it.name.simple == column }
fun indexOf(column: String): Int = this.columns.indexOfFirst { it.name.simple.equals(column, true) }

/**
* Retrieves the [Value] for the specified column index from this [Tuple].
Expand Down

0 comments on commit ced2ad3

Please sign in to comment.