From 26c4d9acd824f860c5772b049a5c2782aaac231c Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Thu, 26 Sep 2019 14:41:08 -0600 Subject: [PATCH] fixed tableFind function example --- .../built-in/transformations/stream-table/tablefind.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/tablefind.md b/content/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/tablefind.md index 8d7fc25f4..409ea3dbc 100644 --- a/content/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/tablefind.md +++ b/content/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/tablefind.md @@ -18,13 +18,14 @@ group key values match a predicate. If no table is found, the function errors. _**Function type:** Stream and table_ ```js -tableFind(column: "_value") +tableFind(fn: (key) => key._field == "fieldName") ``` ## Parameters {{% note %}} -Make sure `fn` parameter names match each specified parameter. To learn why, see [Match parameter names](/v2.0/reference/flux/language/data-model/#match-parameter-names). +Make sure `fn` parameter names match each specified parameter. +To learn why, see [Match parameter names](/v2.0/reference/flux/language/data-model/#match-parameter-names). {{% /note %}} ### fn