createFunction
fun DatabaseConnection.createFunction(name: String, argumentCount: Int, function: ScalarFunction): Registration(source)
fun DatabaseConnection.createFunction(name: String, argumentCount: Int, function: AggregateFunction): Registration(source)
fun DatabaseConnection.createFunction(name: String, argumentCount: Int, function: WindowFunction): Registration(source)
Convenience overload of createFunction using UTF-8 encoding, the only one currently supported.
Throws
if an error happened while creating the function.