SqlFunctionOptions interface
- Extends
-
SqlTriggerOptions,Partial<FunctionOptions>
Properties
| handler | The code that will be executed when your function is triggered |
| trigger | Configuration for the primary input to the function, aka the reason it will be triggered This is the only input that is passed as an argument to the function handler during invocation |
Inherited Properties
| connection |
An app setting (or environment variable) with the connection string for the database containing the table monitored for changes |
| extra |
Configuration for an optional set of secondary inputs
During invocation, get these values with |
| extra |
Configuration for an optional set of secondary outputs
During invocation, set these values with |
| return | Configuration for the optional primary output of the function This is the main output that you should set as the return value of the function handler during invocation |
| table |
The name of the table monitored by the trigger. |
Property Details
handler
The code that will be executed when your function is triggered
handler: SqlHandler<T>
Property Value
SqlHandler<T>
trigger
Configuration for the primary input to the function, aka the reason it will be triggered This is the only input that is passed as an argument to the function handler during invocation
trigger?: SqlTrigger
Property Value
Inherited Property Details
connectionStringSetting
An app setting (or environment variable) with the connection string for the database containing the table monitored for changes
connectionStringSetting: string
Property Value
string
Inherited From SqlTriggerOptions.connectionStringSetting
extraInputs
Configuration for an optional set of secondary inputs
During invocation, get these values with context.extraInputs.get()
extraInputs?: FunctionInput[]
Property Value
Inherited From Partial.extraInputs
extraOutputs
Configuration for an optional set of secondary outputs
During invocation, set these values with context.extraOutputs.set()
extraOutputs?: FunctionOutput[]
Property Value
Inherited From Partial.extraOutputs
return
Configuration for the optional primary output of the function This is the main output that you should set as the return value of the function handler during invocation
return?: FunctionOutput
Property Value
Inherited From Partial.return
tableName
The name of the table monitored by the trigger.
tableName: string
Property Value
string
Inherited From SqlTriggerOptions.tableName