0

Is it possible to use an alias name on a graphql query such as SQL (see below)

select productCode as 'ID' from product
0

1 Answer 1

0

After some tinkering much googling... here it is.

 query { 
   product { 
     ID : productCode 
   } 
 }
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.