emotionbug opened a new issue #52:
URL: https://github.com/apache/incubator-age/issues/52


   I want to querying label as row. but, i can't find `label` function like 
AgensGraph or Neo4j.
   so, currently using follow function,  `ag_catalog._label_name(oid, v | e)` 
like behind.
   
   i think it is not suitable to use.
   
   so, any other ways to querying to get label string?
   
   
   ```sql
   -- $schema_name
   SELECT label, count(label) as cnt
   FROM (
            SELECT ag_catalog._label_name(oid, v)::text as label
            from cypher('$schema_name', $$
                MATCH (V)
                RETURN id(V)
                $$) as (V agtype), (SELECT oid FROM ag_catalog.ag_graph where 
name = '$schema_name') as oid
        ) b
   GROUP BY b.label;
   ```


-- 
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:
us...@infra.apache.org


Reply via email to