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/09/13 10:18:24 UTC

[GitHub] [incubator-age] nieyankai commented on issue #113: How to work with dynamic property

nieyankai commented on issue #113:
URL: https://github.com/apache/incubator-age/issues/113#issuecomment-918046199


   You got it. The property is not predefined, no one knows the property key util the user enter it. 
   So the 2nd solution is a choice, but this will encounter another problem: how to match the properties?
   I want to use like this but I can't:
   SELECT * from ag_catalog.cypher(
       'people',
       $$ MATCH(nyk:person{$key1:$value1,$key2:$value2....}) RETURN nyk, $1, $2, $3, $4... $$
   ) as (v ag_catalog.agtype);
   or
   SELECT * from ag_catalog.cypher(
       'people',
       $$ MATCH(nyk:person{some map user entered}) RETURN nyk, $1 $$
   ) as (v ag_catalog.agtype);
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

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