Skip to content

Commit 0ce7bac

Browse files
committed
Trigger Azure function
1 parent 4ad0f39 commit 0ce7bac

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ADD az_func_updated_at TIMESTAMP DEFAULT
3131
CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;
3232
```
3333

34-
The leases table contains all columns corresponding to the primary key from the user table and two additional columns _az_func_AttemptCount and _az_func_LeaseExpirationTime. So, if any of the primary key columns happen to have the same name, that will result in an error message listing any conflicts. In this case, the listed primary key columns must be renamed for the trigger to work.
34+
The leases table contains all columns corresponding to the primary key from the user table and three additional columns _az_func_AttemptCount, _az_func_LeaseExpirationTime, _az_func_SyncCompletedTime. So, if any of the primary key columns happen to have the same name, that will result in an error message listing any conflicts. In this case, the listed primary key columns must be renamed for the trigger to work.
3535

3636

3737
## Functionality Overview
@@ -49,11 +49,11 @@ while (true) {
4949
```
5050

5151
Changes are processed in the order that they were made, with the oldest changes being processed first. A couple notes about change processing:
52-
1. If changes to multiple rows are made at once the exact order that they are sent to the function is based on order by the “az_func_updated_at” column’s data in increasing order.
52+
1. If changes to multiple row are made once then the exact order they are sent to the function is based on, the ascending order of “az_func_updated_at” column and primary key columns.
5353
2. Changes are "batched" together for a row. If multiple changes are made to a row between each iteration of the loop, then only the latest change entry exists for that row will be considered.
5454

5555
> [!NOTE]
56-
>Trigger Binding with table name containing alphanuemric & _(underscore) are supported. Apart from that Trigger Binding doesn't support any other special characters like (-, *, $).
56+
>Currently, we are not supporting Managed Identity for connections between Functions and Azure Database for MySQL.
5757
>
5858
5959

articles/azure-functions/functions-bindings-azure-mysql.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,5 @@ In addition to the samples for C#, Java, JavaScript, PowerShell, and Python avai
173173

174174
- [Read data from a database (Input binding)](./functions-bindings-azure-mysql-input.md)
175175
- [Save data to a database (Output binding)](./functions-bindings-azure-mysql-output.md)
176+
- [Trigger Binding](./functions-bindings-azure-mysql-trigger.md)
176177

0 commit comments

Comments
 (0)