context:result_error

This function sets the result of a callback function to the error value in err.

Prototype

context:result_error(err)

Description

A callback context is available as a parameter inside the callback functions db:create_aggregate() and db:create_function(). It can be used to get further information about the state of a query.

It returns nothing.

Lua functions

Topics