1 個回答
- 最新
- 最多得票
- 最多評論
0
There are two issues with what you did. The first is that when you reference other variables or intrinsic functions, you need to append .$ to the key. The second is that when you need to include ' in the string, you need to escape them using \\. It should look like this:
"Arguments": {
"--SQLStatement.$": "States.Format('call dw_merge_vendor({}, {}),', $.param1, $.param2)"
}
If you need the params enclosed in ', you should use the following:
"Arguments": {
"--SQLStatement.$": "States.Format('call dw_merge_vendor(\\'{}\\', \\'{}\\'),', $.param1, $.param2)"
}
相關內容
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前