We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I added these lines into the HelpersTrait->verifyWhereConditions
else if ( $condition === "like" ) { if ( strpos($fieldValue,$value) === false ) return false; } it looks fine.
The text was updated successfully, but these errors were encountered:
I think using regular expression instead of strpos would be a better idea to mimic the behaviour of the LIKE clause.
strpos
LIKE
Sorry, something went wrong.
#40 new Like-Condition, implemented with regular expressions and preg_match
The like condition now supports all wildcards shown in https://www.w3schools.com/sql/sql_wildcards.asp at Wildcard Characters in SQL Server
Timu57
No branches or pull requests
I added these lines into the
HelpersTrait->verifyWhereConditions
else if ( $condition === "like" ) {
if ( strpos($fieldValue,$value) === false ) return false;
}
it looks fine.
The text was updated successfully, but these errors were encountered: