Skip to content

Commit ccd195e

Browse files
Merge pull request #247405 from JetterMcTedder/main
Added information to code sections on leasesTableName
2 parents 99900bd + 541791f commit ccd195e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

articles/azure-functions/functions-bindings-azure-sql-trigger.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Azure SQL trigger for Functions
33
description: Learn to use the Azure SQL trigger in Azure Functions.
4-
author: dzsquared
4+
author: JetterMcTedder
55
ms.topic: reference
66
ms.custom: build-2023, devx-track-extended-java, devx-track-js, devx-track-python
7-
ms.date: 4/14/2023
8-
ms.author: drskwier
7+
ms.date: 8/04/2023
8+
ms.author: bspendolini
99
ms.reviewer: glenga
1010
zone_pivot_groups: programming-languages-set-functions-lang-workers
1111
---
@@ -536,6 +536,7 @@ The [C# library](functions-dotnet-class-library.md) uses the [SqlTrigger](https:
536536
|---------|---------|
537537
| **TableName** | Required. The name of the table monitored by the trigger. |
538538
| **ConnectionStringSetting** | Required. The name of an app setting that contains the connection string for the database containing the table monitored for changes. The connection string setting name corresponds to the application setting (in `local.settings.json` for local development) that contains the [connection string](/dotnet/api/microsoft.data.sqlclient.sqlconnection.connectionstring?view=sqlclient-dotnet-core-5.&preserve-view=true#Microsoft_Data_SqlClient_SqlConnection_ConnectionString) to the Azure SQL or SQL Server instance.|
539+
| **LeasesTableName** | Optional. Name of the table used to store leases. If not specified, the leases table name will be Leases_{FunctionId}_{TableId}. More information on how this is generated can be found [here](https://github.com/Azure/azure-functions-sql-extension/blob/release/trigger/docs/TriggerBinding.md#az_funcleasestablename).
539540

540541

541542
::: zone-end
@@ -552,6 +553,7 @@ In the [Java functions runtime library](/java/api/overview/azure/functions/runti
552553
| **name** | Required. The name of the parameter that the trigger binds to. |
553554
| **tableName** | Required. The name of the table monitored by the trigger. |
554555
| **connectionStringSetting** | Required. The name of an app setting that contains the connection string for the database containing the table monitored for changes. The connection string setting name corresponds to the application setting (in `local.settings.json` for local development) that contains the [connection string](/dotnet/api/microsoft.data.sqlclient.sqlconnection.connectionstring?view=sqlclient-dotnet-core-5.&preserve-view=true#Microsoft_Data_SqlClient_SqlConnection_ConnectionString) to the Azure SQL or SQL Server instance.|
556+
| **LeasesTableName** | Optional. Name of the table used to store leases. If not specified, the leases table name will be Leases_{FunctionId}_{TableId}. More information on how this is generated can be found [here](https://github.com/Azure/azure-functions-sql-extension/blob/release/trigger/docs/TriggerBinding.md#az_funcleasestablename).
555557

556558
::: zone-end
557559

@@ -568,6 +570,7 @@ The following table explains the binding configuration properties that you set i
568570
| **direction** | Required. Must be set to `in`. |
569571
| **tableName** | Required. The name of the table monitored by the trigger. |
570572
| **connectionStringSetting** | Required. The name of an app setting that contains the connection string for the database containing the table monitored for changes. The connection string setting name corresponds to the application setting (in `local.settings.json` for local development) that contains the [connection string](/dotnet/api/microsoft.data.sqlclient.sqlconnection.connectionstring?view=sqlclient-dotnet-core-5.&preserve-view=true#Microsoft_Data_SqlClient_SqlConnection_ConnectionString) to the Azure SQL or SQL Server instance.|
573+
| **LeasesTableName** | Optional. Name of the table used to store leases. If not specified, the leases table name will be Leases_{FunctionId}_{TableId}. More information on how this is generated can be found [here](https://github.com/Azure/azure-functions-sql-extension/blob/release/trigger/docs/TriggerBinding.md#az_funcleasestablename).
571574
::: zone-end
572575

573576
## Optional Configuration

0 commit comments

Comments
 (0)