function
Like
Match using the store-supported string pattern operator.
Example
query.Like("title", "go cms")Arguments
| Argument | Type | Description |
|---|---|---|
path | P | The field, as a dot-separated name such as "seo.title" or a Path. |
value | string | Words that must all appear, ignoring case and order. |
Returns
The declared result.
ExpressionFull signature
func Like[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.