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

If a String start with a number with Like Operator #21

Open
yusrub opened this issue Jul 28, 2022 · 0 comments
Open

If a String start with a number with Like Operator #21

yusrub opened this issue Jul 28, 2022 · 0 comments

Comments

@yusrub
Copy link

yusrub commented Jul 28, 2022

Hi All,

I have a field with a product name where we are using the like operator to search the product name from MYSQL.

Once it RQL parser creates the token it splits a single string into two tokens.

one with the number and the other with the string part of the input.

For example: if I tried to search with the input name "0234 bedroom set"

The token list will be like that

$token[0] = "0234";
$token[1] = "bedroom set";

image (4)

My expectation should not split the string into Two tokens instead it should create one token with $token[0]="0234 bedroom set".

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

1 participant