Search...
query
Returns the PlansQueryBuilder
object used to get the current results.
Description
Use query
to create and run a new query by chaining additional PlansQueryBuilder
functions to it. You can filter only on properties that haven't already been used in the previous PlansQueryBuilder
.
Type:
Was this helpful?
Get
query
that produced the current resultCopy Code
1const originalQuery = results.query;2
Perform a query and get
query
from the resultCopy Code
1import { plans } from 'wix-pricing-plans.v2';23export async function myQueryFunction() {4 const results = await plans.queryPublicPlans().find();56 return results.query;7}8