npm package: @genql/example-client-0
Description: Graphql client
Latest version: 1.0.0


# @genql/example-client-0

Your awesome graphql client ❤️

## Example usage

```js
import { createClient } from '@genql/example-client-0'
const client = createClient()



// variables
var continent__code
var country__code

client
  .query({
    languages: {
      rtl: true,
    },
    continent: [
      {
        code: continent__code,
      },
      {
        code: true,
      },
    ],
    countries: {
      continent: {
        countries: {
          languages: {
            code: true,
            native: true,
          },
          code: true,
          name: true,
          currency: true,
          emoji: true,
        },
        code: true,
        name: true,
      },
      native: true,
      currency: true,
    },
    country: [
      {
        code: country__code,
      },
      {
        states: {
          country: {
            continent: {
              name: true,
            },
            languages: {
              name: true,
            },
            states: {
              name: true,
            },
            native: true,
            currency: true,
            emoji: true,
          },
          code: true,
          name: true,
        },
        continent: {
          name: true,
        },
        code: true,
        currency: true,
        emoji: true,
        emojiU: true,
      },
    ],
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))




// variables
var continent__code
var country__code
var language__code

client
  .query({
    continent: [
      {
        code: continent__code,
      },
      {
        name: true,
      },
    ],
    continents: {
      countries: {
        states: {
          code: true,
        },
        continent: {
          countries: {
            name: true,
            currency: true,
          },
          code: true,
        },
        code: true,
        name: true,
        phone: true,
        capital: true,
        currency: true,
        emoji: true,
        emojiU: true,
      },
      name: true,
    },
    countries: {
      continent: {
        code: true,
      },
      languages: {
        code: true,
        name: true,
      },
      code: true,
      native: true,
      capital: true,
      emojiU: true,
    },
    country: [
      {
        code: country__code,
      },
      {
        states: {
          country: {
            continent: {
              code: true,
            },
            code: true,
            native: true,
            emoji: true,
            emojiU: true,
          },
        },
        languages: {
          name: true,
        },
        code: true,
        name: true,
        native: true,
        phone: true,
        capital: true,
        currency: true,
        emoji: true,
      },
    ],
    languages: {
      code: true,
      name: true,
      native: true,
      rtl: true,
    },
    language: [
      {
        code: language__code,
      },
      {
        code: true,
      },
    ],
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))




client
  .query({
    languages: {
      code: true,
      native: true,
    },
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))




// variables
var language__code
var continent__code

client
  .query({
    language: [
      {
        code: language__code,
      },
      {
        name: true,
        native: true,
      },
    ],
    continent: [
      {
        code: continent__code,
      },
      {
        countries: {
          continent: {
            countries: {
              emoji: true,
              emojiU: true,
            },
            code: true,
            name: true,
          },
          code: true,
          name: true,
          native: true,
          phone: true,
          currency: true,
          emojiU: true,
        },
        code: true,
        name: true,
      },
    ],
    countries: {
      code: true,
      phone: true,
      currency: true,
      emojiU: true,
    },
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))


```