Created
February 21, 2020 03:11
-
-
Save Ramko9999/52c9600b35c66149e15ba25edd99f689 to your computer and use it in GitHub Desktop.
get_vertex_data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| 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