Table of Contents |
---|
Info |
---|
Available from Onesait Platform version 4.2.0 and higher |
Introduction
In this post we are going to explain how to work with stored entities on Nebula Graph, for the cases in which you want to work with graph-based storage technologies.
Entity creation
To create the entity, we will have to select the option 'Create entity in network database'.
...
If we access the 'view entity' icon (eye) we will be able to see the definition of vertices and edges.
...
Entering data
Once the entity is created, we can execute all types of nGQL queries from query tool.
...
With this we will now have data to perform queries.
Queries
As we have said before, we can make any type of query in nGQL format, let's see some examples:
...
Code Block |
---|
GO FROM "player101" OVER follow YIELD dst(edge) AS id | GO FROM $-.id OVER serve YIELD properties($$).name AS Team, properties($^).name AS Player; |
...
Apification
We can also apify the entity to perform queries via HTTP.
When we select a network type entity to qualify, only one operation will be available.
...
Nebula Graph UI
From the entity list, when an entity is stored in Nebula Graph, you will have an option to access the Nebula UI.
...