Could someone explain how is querying using GraphQL, using GSQL query and pyTigerGraph different from each other ?
Thanks in advanced
Hi @tiger_boi ,
Welcome to TigerGraph Dev Forum!
Here’s the differences between them:
- GraphQL: Graph QL is not a query language for a graph database - currently GraphQL’s use is related to API. It’s worth noting that no current graph database puts a lot of focus on Graph QL. You can read more about Graph QL here - https://graphql.org/
- GSQL: GSQL is TigerGraph’s proprietary query language, designed to take advantage of TG’s horizontal scalability. It’s the “main” query language of TigerGraph, and it also allows you to define your schema and loading job as well as queries. We would recommend that you use GSQL query to do operations on TigerGraph database. You can see this page for more details: GSQL Language Reference :: GSQL Language Reference
- pyTigerGraph: a python library that allows you to connect to the TigerGraph database. It has many functionalities. For instance, you can run a query right out from pyTigerGraph. pyTigerGraph :: pyTigerGraph
I hope this helps!
Best,
Supawish Limprasert (Jim)
Solution Engineer, TigerGraph