Back to Elasticsearch

Clamp

docs/reference/query-languages/esql/_snippets/functions/parameters/clamp.md

9.4.0292 B
Original Source

% This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.

Parameters

field : Numeric expression. If null, the function returns null.

min : The min value to clamp data into.

max : The max value to clamp data into.