> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: query() # Method package: wixPricingPlansBackend # Method menu location: wixPricingPlansBackend --> PublicPlansQueryResult --> query # Method Link: https://dev.wix.com/docs/velo/apis/wix-pricing-plans-backend/public-plans-query-result/query.md # Method Description: Returns the query used to get the current results. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Get the query that produced a query result ```javascript const resultQuery = results.query; ``` ## Perform a query and get the query that produced the result ```javascript import wixPricingPlansBackend from 'wix-pricing-plans-backend'; // ... wixPricingPlansBackend.queryPublicPlans() .find() .then((results) => { const newQuery = results.query; newQuery .ge("_createdDate", "2021-01-01T15:21:41.960Z") .find() .then((newQueryResults) => { const firstItem = newQueryResults.items[0]; }) }) .catch((error) => { const queryError = error; }); ``` ---