1 個回答
- 最新
- 最多得票
- 最多評論
1
A parameter inside the quoted value like that doesn't look right. I haven't used this API... but I have used many analogous ones.
Try a test like this:
SELECT * FROM products WHERE name LIKE '%' || :productName || '%'
That's a more typical way to reference your parameter.
已回答 2 年前
相關內容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
Worked like a charm! It also inspired me to try adding the %s to the parameter itself which also works
{ stringValue: '%' + variableFromUserInput + '%'}