StringExpressionOperators extension
Defines methods that operate on a column storing String values.
- on
Properties
- 
  length
  → Expression<int> 
- 
      Available on Expression< Calls the sqlite functionString> , provided by the StringExpressionOperators extensionLENGTHonthisstring, which counts the number of characters in this string. Note that, in most sqlite installations, length may not support all unicode rules.no setter
Methods
- 
  collate(Collate collate) → Expression< String> 
- 
      Available on Expression< Uses the givenString> , provided by the StringExpressionOperators extensioncollatesequence when comparing this column to other values.
- 
  contains(String substring) → Expression< bool> 
- 
      Available on Expression< Whether this expression containsString> , provided by the StringExpressionOperators extensionsubstring.
- 
  like(String regex, {String? escapeChar}) → Expression< bool> 
- 
      Available on Expression< Whether this column matches the given expression.String> , provided by the StringExpressionOperators extension
- 
  likeExp(Expression< String> regex, {Expression<String> ? escape}) → Expression<bool> 
- 
      Available on Expression< Whether this column matches the given expression.String> , provided by the StringExpressionOperators extension
- 
  lower() → Expression< String> 
- 
      Available on Expression< Calls the sqlite functionString> , provided by the StringExpressionOperators extensionLOWERonthisstring. Please note that, in most sqlite installations, this only affects ascii chars.
- 
  regexp(String regex, {bool multiLine = false, bool caseSensitive = true, bool unicode = false, bool dotAll = false}) → Expression< bool> 
- 
      Available on Expression< Matches this string against the regular expression inString> , provided by the StringExpressionOperators extensionregex.
- 
  substr(int start, [int? length]) → Expression< String> 
- 
      Available on Expression< Calls theString> , provided by the StringExpressionOperators extensionsubstrfunction on this string.
- 
  substrExpr(Expression< int> start, [Expression<int> ? length]) → Expression<String> 
- 
      Available on Expression< Calls theString> , provided by the StringExpressionOperators extensionsubstrfunction with arbitrary expressions as arguments.
- 
  trim() → Expression< String> 
- 
      Available on Expression< Removes spaces from both ends of this string.String> , provided by the StringExpressionOperators extension
- 
  trimLeft() → Expression< String> 
- 
      Available on Expression< Removes spaces from the beginning of this string.String> , provided by the StringExpressionOperators extension
- 
  trimRight() → Expression< String> 
- 
      Available on Expression< Removes spaces from the end of this string.String> , provided by the StringExpressionOperators extension
- 
  upper() → Expression< String> 
- 
      Available on Expression< Calls the sqlite functionString> , provided by the StringExpressionOperators extensionUPPERonthisstring. Please note that, in most sqlite installations, this only affects ascii chars.
Operators
- 
  operator +(Expression< String> other) → Expression<String> 
- 
      Available on Expression< Performs a string concatenation in sql by appendingString> , provided by the StringExpressionOperators extensionothertothis.