JoshInnis commented on issue #210:
URL: https://github.com/apache/incubator-age/issues/210#issuecomment-1109366211
Hello,
There has been a solution proposed to allow a map to be passed to the
cypher function. For example, something similar to:
```
SELECT * FROM ag_catalog.cypher('userdata', $$
CREATE (f $props)
RETURN f
$$, $1) as (f ag_catalog.agtype);
```
That solution has not been implemented yet.
However, currently AGE fully supports dynamic sql, so you could construct a
query in real time and run it, though can be performance issues in situations
and we would need to know more about your situation to know. You can check out
an example of this here:
https://github.com/JoshInnis/AGE-Machine-Learning/blob/main/graph-creation/complete_graph.sql
. That is creating a dynamic number of nodes and edges, not properties, but
might help you out.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]