function
Contains
Match a string containing the supplied text.
Example
query.Contains("title", "ridu")Arguments
| Argument | Type | Description |
|---|---|---|
path | P | The field, as a dot-separated name such as "seo.title" or a Path. |
value | string | The text to find, ignoring case. |
Returns
The declared result.
ExpressionFull signature
func Contains[P FieldPath](
path P,
value string,
) ExpressionRelated types
FieldPathA field name in a filter or sort: a string such as "seo.title", or a Path.
ExpressionA sealed immutable predicate consumed atomically by stores.