TinyBase logoTinyBase

ParamValueListener

The ParamValueListener type describes a function that is used to listen to changes to a single param value of a parameterized query.

(
  queries: Queries,
  queryId: Id,
  paramId: Id,
  paramValue: ParamValue,
): void
TypeDescription
queriesQueries

A reference to the Queries object that changed.

queryIdId

The Id of the query whose param value changed.

paramIdId

The Id of the param whose value changed.

paramValueParamValue
returnsvoid

This has no return value.

A ParamValueListener is provided when using the addParamValueListener method. See that method for specific examples.

When called, a ParamValueListener is given a reference to the Queries object, the Id of the query whose param value changed, and the Id of the param whose value changed.

Since

v7.2.0