You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by GitBox <gi...@apache.org> on 2021/04/17 00:34:47 UTC

[GitHub] [incubator-age] JoshInnis commented on issue #52: exists `label(...)` function in AGE?

JoshInnis commented on issue #52:
URL: https://github.com/apache/incubator-age/issues/52#issuecomment-821736186


   The label function has been added.
   
   ```
   SELECT *
   FROM cypher('$schema_name', $$
       MATCH (V)
       RETURN label(V), count(*)
   $$) as (label agtype, cnt agtype)
   ```
   
   The label function is not in Neo4J. Neo4J has the labels function which returns a list of all the vertex's/edge's labels. Since AgensGraph uses label inheritance that function to list the vertex's/edge's label, it's parents and all ancestor labels. The label function just returns a string of the entity's exact label. Currently label is implemented and labels is not.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org