1 Answer
- Newest
- Most votes
- Most comments
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.
answered 2 years ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
Worked like a charm! It also inspired me to try adding the %s to the parameter itself which also works
{ stringValue: '%' + variableFromUserInput + '%'}