context:result_number

This function sets the result of a callback function to the value number.

Prototype

context:result_number(number) or context:result_double(number)

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