This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Filters pipeline data to match items where the value of the specified field starts with a specified value.
The startsWith()
method refines the filter to only match items where the value of the specified field starts with the specified value. Matching with startsWith()
is not case sensitive, so "TEXT"
is considered to start with "tex"
.
You can only use startsWith()
with a field of type string or reference. When matching a field of type reference, startsWith()
matches by the ID of the referenced item as a string.
Field whose value is compared with the specified value.
Value to look for at the beginning of the specified field value.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.