Class LikeOperation

java.lang.Object
ortus.boxlang.runtime.jdbc.qoq.LikeOperation

public class LikeOperation extends Object
Implements the LIKE operation for SQL QoQ
  • Constructor Details

    • LikeOperation

      public LikeOperation()
  • Method Details

    • invoke

      public static boolean invoke(String stringToSearchIn, String patternToSearchFor, String escape)
      Invoke a SQL Like operation.
      Parameters:
      stringToSearchIn - The string to search in
      patternToSearchFor - The pattern to search for
      escape - The escape character
      Returns:
      true if the pattern matches the string