Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Like operator not working with parameter #25

Open
maltahan opened this issue Jun 7, 2023 · 2 comments
Open

Like operator not working with parameter #25

maltahan opened this issue Jun 7, 2023 · 2 comments

Comments

@maltahan
Copy link

maltahan commented Jun 7, 2023

I am trying to use the like operator with a parameter using 'add string parameter' action, but it seems to be that the like operator is considering my parameter as a string and not as a parameter. Hier is an example:
and doc.Name like ''%$text%'''.

@ArjenLammers
Copy link
Owner

Hi Maltahan,

Try removing the "
So LIKE %$test%

Does that work?

@maltahan
Copy link
Author

maltahan commented Jun 7, 2023

Hello Arjen

Unfortunately, it throws an error, since the like operator expects the ''. Here is the error: 'Error on line 7 character 111: extraneous input '%' expecting {NULL, TRUE, FALSE, NATURAL, REAL, VARIABLE, STRING_LITERAL}
Error on line 7 character 117: mismatched input '%' expecting {, ';'}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants