MACRO

All functions > CORE > MACRO

Defines a macro of the given feature with the given inputs.

Syntax

MACRO(base, inputs)
sql

Arguments

ParameterTypeRequiredDescription
baseFEATUREYesThe base feature to create a macro from
inputsARRAYFEATUREYesArray of input features to parameterize the macro

Returns

A macro feature with parameterized inputs

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: 2025/10/13 10:23:46