Does tigergraph support insert, update etc?

At present, I found SELECT only.
I want to use the nodes & relations to calculate something and store the result as new nods & relations. But I find no entrance.

Hi Sody,

TigerGraph has powerful query language GSQL. For the language details, please refer to our documentation site: https://docs.tigergraph.com/dev/gsql-ref/querying

In addition, we also support REST APIs for simple queries: https://docs.tigergraph.com/dev/restpp-api/built-in-endpoints

Also, for beginners, GSQL 101 is a great tutorial to start with: https://docs.tigergraph.com/intro/gsql-101

Should you have any questions, feel free to ask here :slight_smile:

Still, I don’t know how to upsert data data(not from csv file).

only solution I can image is that print the result to a external csv file, then load it in with “run loading job”.

Hope I missed something to upsert data because the above action is sooooo silly and inefficient.

Hi Sody,

You may want to check out data modification statements here:

https://docs.tigergraph.com/dev/gsql-ref/querying/data-modification-statements#insert-into-statement

Hope this helps.