Skip to content

Like Condition #34

Closed
Closed

Description

@haan78

I added these lines into the
HelpersTrait->verifyWhereConditions

else if ( $condition === "like" ) {
if ( strpos($fieldValue,$value) === false ) return false;
}
it looks fine.

Activity

  1. added
    enhancement
    on Jul 29, 2020
  2. rakibtg commented on Jul 31, 2020

    @rakibtg
    Member

    I think using regular expression instead of strpos would be a better idea to mimic the behaviour of the LIKE clause.

  3. Timu57 commented on Sep 26, 2020

    @Timu57
    Member

    #40 new Like-Condition, implemented with regular expressions and preg_match

  4. Timu57 commented on Dec 18, 2020

    @Timu57
    Member

    The like condition now supports all wildcards shown in https://www.w3schools.com/sql/sql_wildcards.asp at Wildcard Characters in SQL Server

  5. added this to the Version 2.0 milestone on Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementrelease candidate

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions