Skip to content

Commit

Permalink
Update balta/src/main/scala/za/co/absa/db/balta/classes/DBFunction.scala
Browse files Browse the repository at this point in the history
Co-authored-by: miroslavpojer <miroslav.pojer@absa.africa>
  • Loading branch information
benedeki and miroslavpojer authored Sep 11, 2024
1 parent 789b92c commit e923c42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sealed abstract class DBFunction private(functionName: String,
* @param connection - the database connection
*/
def getResult(orderBy: String = "")(implicit connection: DBConnection): List[QueryResultRow] = {
execute("")(_.toList)
execute(orderBy)(_.toList)
}

/**
Expand Down

0 comments on commit e923c42

Please sign in to comment.