---
schema_version: "1"
id: b06bdd80000dbc835b50c71a999160607dd99f71f73ad97ec2b644c1789244e7
title: GraphQL Wire Adapter for LWC
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/graphql-api/graphql/guides/wire/graphql-wire-lwc.md
canonical_url: https://developer.salesforce.com/docs/platform/graphql/guide/graphql-wire-lwc.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4f485922f2f149df3fc4d45ef048f9fa1475f0925fc07b5a63ec448141484541
products:
  - GraphQL API
---
# GraphQL Wire Adapter for LWC

The Lightning Web Components (LWC) framework implements core Web Components standards to enable developers to create reusable components on the Salesforce platform using standard HTML, JavaScript, and CSS. You can work with Salesforce data via [Lightning Data Service](https://developer.salesforce.com/docs/platform/lwc/guide/data-ui-api.html), which is available to your components via base components like `lightning-record-form` or via wire adapters and functions.

## GraphQL Wire Adapter

With the [GraphQL wire adapter](https://developer.salesforce.com/docs/platform/lwc/guide/reference-lightning-graphql-module.html), you can query Salesforce data using SOQL-like queries with functionalities like filtering and data aggregation. Lightning Data Service manages your data and you don’t need different wire adapters for each query defined in the GraphQL schema, unlike the other LWC wire adapters. The extensive benefits of using the GraphQL wire adapter simplify and speed up access to your Salesforce data from your LWC web components and mobile apps.

::video{src="https://www.youtube.com/embed/PTYEzizzyW0" title="codeLive: How to Work with GraphQL Wire Adapter for LWC" type="youtube" }

## See Also

[_Lightning Web Components Developer Guide_: lightning/graphql Wire Adapter (v2)](https://developer.salesforce.com/docs/platform/lwc/guide/reference-lightning-graphql-module.html)

[_Lightning Web Components Developer Guide_: lightning/uiGraphQLApi (v1)](https://developer.salesforce.com/docs/platform/lwc/guide/reference-lightning-graphql-api.html)
