MACRO

All functions > CORE > MACRO

Returns a reference to a macro of the given feature with the given inputs.

Signatures

Returns: A macro feature with parameterized inputs

MACRO(base: FEATURE, inputs: ARRAY<FEATURE>) → FEATURE
sql
ParameterTypeRequiredDescription
baseFEATUREYesThe base feature to create a macro from
inputsARRAY<FEATURE>YesArray of input features to parameterize the macro

Notes

  • Creates a reusable macro from a feature with input parameters
  • Macros allow features to be parameterized and reused
  • Input array specifies which inputs the macro accepts
  • Enables creating template features that can be instantiated with different inputs
  • Part of the FeatureMesh core system for feature reusability
Last update at: 2026/03/03 16:47:38
Last updated: 2026-03-03 16:48:19