Check out example codes for "hasura mutation". It will help you in understanding the concepts better.

Code Example 1

SELECT * FROM "information_schema"."table_constraints" WHERE table_name='<table>' AND table_schema='<schema>';

Learn ReactJs, React Native from akashmittal.com