> 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: queryModifiers() # Method package: wixRestaurantsV2 # Method menu location: wixRestaurantsV2 --> itemModifiers --> queryModifiers # Method Link: https://dev.wix.com/docs/velo/apis/wix-restaurants-v2/menus/item-modifiers/query-modifiers.md # Method Description: Creates a query to retrieve a list of item modifiers. The `queryModifiers()` function builds a query to retrieve a list of item modifiers and returns a `ModifiersQueryBuilder` object. The returned object contains the query definition, which is used to run the query using the [`find()`](/item-modifiers/modifiers-query-builder/find) function. You can refine the query by chaining `ModifiersQueryBuilder` functions onto the query. `ModifiersQueryBuilder` functions enable you to filter, sort, and control the results that `queryModifiers()` returns. `queryModifiers()` runs with the following `ModifiersQueryBuilder` defaults, which you can override: * [`limit(200)`](/item-modifiers/modifiers-query-builder/limit) The following `ModifiersQueryBuilder` functions are supported for `queryModifiers()`. For a full description of the item modifier object, see the object returned for the [`items`](/item-modifiers/modifiers-query-builder/items) property in `ModifiersQueryResult`. |PROPERTY |SUPPORTED FILTERS & SORTING |:---:|:---:| |`_id`|[`eq()`](/modifiers-query-builder/eq),[`ne()`](/modifiers-query-builder/ne),[`in()`](/modifiers-query-builder/in)| |`_createdDate`|[`eq()`](/modifiers-query-builder/eq),[`ne()`](/modifiers-query-builder/ne),[`gt()`](/modifiers-query-builder/gt),[`ge()`](/modifiers-query-builder/ge),[`lt()`](/modifiers-query-builder/lt),[`le()`](/modifiers-query-builder/le)| |`_updatedDate`|[`eq()`](/modifiers-query-builder/eq),[`ne()`](/modifiers-query-builder/ne),[`gt()`](/modifiers-query-builder/gt),[`ge()`](/modifiers-query-builder/ge),[`lt()`](/modifiers-query-builder/lt),[`le()`](/modifiers-query-builder/le)| |`name`|[`eq()`](/modifiers-query-builder/eq),[`ne()`](/modifiers-query-builder/ne),[`in()`](/modifiers-query-builder/in)| # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## queryModifiers example ```javascript import { itemModifiers } from 'wix-restaurants.v2'; async function queryModifiers() { const { items } = itemModifiers.queryModifiers().find(); } ``` ## queryModifiers example for exporting from backend code ```javascript import { itemModifiers } from 'wix-restaurants.v2'; import { webMethod, Permissions } from 'wix-web-module'; export const queryModifiers = webMethod( Permissions.Anyone, async (options) => { try { const result = await itemModifiers.queryModifiers(options); return result; } catch (error) { console.error(error); // Handle the error } } ); ``` ---