createFunction

abstract fun createFunction(name: String, argumentCount: Int, encoding: SqliteFunctionTextEncoding, function: ScalarFunction)(source)

Creates or updates a scalar function.

Throws

if an error happened while creating the function.


abstract fun createFunction(name: String, argumentCount: Int, encoding: SqliteFunctionTextEncoding, function: AggregateFunction)(source)

Creates or updates an aggregate function.

Throws

if an error happened while creating the function.


abstract fun createFunction(name: String, argumentCount: Int, encoding: SqliteFunctionTextEncoding, function: WindowFunction)(source)

Creates or updates a window function.

Throws

if an error happened while creating the function.