FindOptions.viewParams property

Values for the placeholders in a dynamic view's definition.

Signature:

viewParams?: ViewParams;

Remarks

Merged over the defaults the decorator supplied, then substituted into the view SQL before the statement runs — which is how one model can be selected from with different parameters. Values are escaped on the way in, and one reached through an include is honoured too.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.