Files
appwrite/docs/examples/1.8.x/client-react-native/examples/graphql/mutation.md
T
2025-08-20 19:22:48 +12:00

14 lines
341 B
Markdown

import { Client, Graphql } from "react-native-appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const graphql = new Graphql(client);
const result = await graphql.mutation({
query: {}
});
console.log(result);