context:set_aggregate_data

Set the user-definable data field for callback functions to udata.

Prototype

context:set_aggregate_data(udata)

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.

Lua functions

Topics