Query Extensions
Last updated
Was this helpful?
Last updated
Was this helpful?
Query extensions are methods added to that are specific to a .
To create an extension, override the base wire.data.select
function and then add methods to the new version.
Query extensions can be used for a variety of operations specific to a data connector.
Here, a method is used to wrap a category
filter on a specific value
.
This new method can now be used to create a standard query.
Query extensions can also be used to pass custom data to a data connector. Use the Custom
property on the class inside the extension method to pass custom data to a data connector.
The following example is a short/modified version of a method taken from the search query extension.