> 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 ## Resource: wix-pricing-plans-backend ## Namespace: public-plans-query-builder ## Article: Introduction ## Article Link: https://dev.wix.com/docs/velo/apis/wix-pricing-plans-backend/public-plans-query-builder/introduction.md ## Article Content: # Introduction The `PublicPlansQueryBuilder` functions enable you to run, sort, filter, and control which results a query returns. Typically, you build a query with the [`queryPublicPlans()`]((wix-pricing-plans-backend/query-public-plans)) query function, refine the query by chaining `PublicPlansQueryBuilder` functions, and then execute the query with the [`find()`](#find) function. For example, the following code queries the non-primary public plans and logs the first 5 results to the console, sorted in ascending order by plan ID: ```javascript import wixPricingPlansBackend from 'wix-pricing-plans-backend'; wixPricingPlansBackend.queryPublicPlans() .eq("primary", false) .ascending("_createdDate") .limit(5) .find() .then((results) => { console.log(results.items); } ); ```