GreenFairy.CQL.Scalars.String (GreenFairy v0.3.0)

View Source

CQL scalar for string fields.

Provides string comparison and pattern matching operators, delegating to adapter-specific implementations.

Operators

  • :_eq / :_neq - Equality/inequality
  • :_gt / :_gte / :_lt / :_lte - Comparison
  • :_in / :_nin - List membership
  • :_like / :_nlike - Pattern matching (case-sensitive)
  • :_ilike / :_nilike - Pattern matching (case-insensitive)
  • :_starts_with / :_istarts_with - Prefix matching
  • :_ends_with / :_iends_with - Suffix matching
  • :_contains / :_icontains - Substring matching
  • :_is_null - Null check

Adapter Variations

  • PostgreSQL: Native ILIKE support
  • MySQL/SQLite/MSSQL: Emulate ILIKE with LOWER() LIKE LOWER()
  • Exlasticsearch: Full-text search operators (:_match, :_fuzzy)