spring-framework / org.springframework.jdbc.object / SqlFunction / run

run

open fun run(): Int

Convenient method to run the function without arguments.

Return
the value of the function

open fun run(parameter: Int): Int

Convenient method to run the function with a single int argument.

Parameters

parameter - single int parameter

Return
the value of the function

open fun run(vararg parameters: Any): Int

Analogous to the SqlQuery.execute([]) method. This is a generic method to execute a query, taken a number of arguments.

Parameters

parameters - array of parameters. These will be objects or object wrapper types for primitives.

Return
the value of the function