run( )


Runs the search operation.

The run() method searches the collection for the specified expression. It returns a Promise that resolves to a WixDataResult that contains the matching items and search metadata.

Search operations are eventually consistent and might not reflect recent changes.

Method Declaration
Copy
Method Parameters
optionsWixDataReadOptions

Options for building the search operation.

Returns
Return Type:Promise<WixDataResult>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?