Skip to content

Instantly share code, notes, and snippets.

@Ramko9999
Created February 21, 2020 03:11
Show Gist options
  • Select an option

  • Save Ramko9999/52c9600b35c66149e15ba25edd99f689 to your computer and use it in GitHub Desktop.

Select an option

Save Ramko9999/52c9600b35c66149e15ba25edd99f689 to your computer and use it in GitHub Desktop.
get_vertex_data
/*
GETTING VERTEX DATA
*/
Map result = await client.getVertex(Vertex("product", "BELTS"));
/*The return object will be the Json decoded standard tigerGraph response, thus it will be a map.
For example, here is what result will be:
{version:
{edition: enterprise, api: v2, schema: 0},
error: false, message: ,
results: [{v_id: BELTS, v_type: product, attributes: {name: BELTS, price: 50, formula: $1+22}}]
}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment