Skip to content

Commit f7eb54f

Browse files
author
Susanta Biswas
committed
Mysql data converter for Trigger binding
1 parent 03dc59a commit f7eb54f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

azure/functions/mysql.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,7 @@ def encode(cls, obj: typing.Any, *,
7676
type='json',
7777
value=json.dumps([dict(d) for d in data])
7878
)
79+
80+
class MySqlTriggerConverter(MySqlConverter,
81+
binding='mysqlTrigger', trigger=True):
82+
pass

0 commit comments

Comments
 (0)