From cbf8ad9f9cbf8ce1be9fef0193d2461bf1810034 Mon Sep 17 00:00:00 2001 From: Matt Leader Date: Thu, 30 May 2024 11:52:25 -0400 Subject: [PATCH] `bindConstants()` schema help doc (#185) * change help doc wording --- internal/builtinfunctions/functions.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/internal/builtinfunctions/functions.go b/internal/builtinfunctions/functions.go index 077df319..fa3fd05c 100644 --- a/internal/builtinfunctions/functions.go +++ b/internal/builtinfunctions/functions.go @@ -550,10 +550,11 @@ func getBindConstantsFunction() schema.CallableFunction { schema.NewDisplayValue( schema.PointerTo("Bind Constants"), schema.PointerTo( - "Creates a list of objects with ID `CombinedObject`. "+ - fmt.Sprintf("Each object has two properties `%s` and `%s`.\n", CombinedObjPropertyItemName, CombinedObjPropertyConstantName)+ - fmt.Sprintf("Param 1: Value(s) to be included in the `%s` field \n", CombinedObjPropertyItemName)+ - fmt.Sprintf("Param 2: Value(s) to populate the field `%s` with every output item", CombinedObjPropertyConstantName)), + fmt.Sprintf("Returns a list of objects each containing two "+ + "properties. The `%s` property contains the corresponding "+ + "item from the list in the first parameter, and the `%s` "+ + "property contains the value of the second input parameter. ", + CombinedObjPropertyItemName, CombinedObjPropertyConstantName)), nil), func(items []any, columnValues any) (any, error) { combinedItems := make([]any, len(items))