TinyBase logoTinyBase β

ParamValues

The ParamValues type describes an object of param values, keyed by param Id, used to provide values for a parameterized query.

{[paramId: Id]: ParamValue}

A ParamValues object is provided when setting a query definition with params, or when updating params with the setParamValues method.

Example

import type {ParamValues} from 'tinybase';

export const paramValues: ParamValues = {
  species: 'dog',
  minAge: 5,
  active: true,
};

Since

v7.2.0