1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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.
respondido há 2 anos
Conteúdo relevante
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 2 anos
Worked like a charm! It also inspired me to try adding the %s to the parameter itself which also works
{ stringValue: '%' + variableFromUserInput + '%'}