Get edge type from alias

Hello TG Team,

Since when printing the edges as json, we can see the edge types. So is there a way to get the edge type from an edge alias, possibly via an edge function ? I want to use the edge type as a condition for my gsql query.

Thanks

Hi luyilun32661 and lshestakov,

Is this what you want?

Best,
Renchu

2 Likes

Yes ! Thank you Renchu