function

Like

Match using the store-supported string pattern operator.

Example

go
query.Like("title", "go cms")

Arguments

ArgumentTypeDescription
pathPThe field, as a dot-separated name such as "seo.title" or a Path.
valuestringWords that must all appear, ignoring case and order.

Returns

The declared result.

Expression

Full signature

Related types

  • FieldPath

    A field name in a filter or sort: a string such as "seo.title", or a Path.

  • Expression

    A sealed immutable predicate consumed atomically by stores.