Update: it appears to be a characteristic for output bindings in general that they can only be called once per function execution, but the limitation was overcome by using an array of the rows to write.
Azure function output binding for table not writing multiple rows
I have an Azure function executing Python code that has an output binding to an Azure table.
Within the script, it attempts to add multiple rows to the table using the binding with a for loop.
Each time it runs successfully but only ever adds 1 row to the table - the last one that the script attempts to write.
Is this a key feature of a table output binding, that it can only be used once per execution of the function?
2 answers
Sort by: Most helpful
-
-
Berry, Joseph 1 Reputation point
2020-12-07T15:29:45.477+00:00 Do you have an example of how you overcame this? I have a similar problem, I iterate through a list of dictionaries, hoping to insert each one using the message.set() method. However, it only seems to work for the last row. How did you create the array from the input dictionaries?