appwrite/docs/examples/1.6.x/client-react-native/examples/graphql/query.md
2024-07-03 17:25:40 +02:00

337 B

import { Client, Graphql } from "react-native-appwrite";

const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID

const graphql = new Graphql(client);

const result = await graphql.query( {} // query );

console.log(response);