MironAtHome commented on issue #1840:
URL: https://github.com/apache/age/issues/1840#issuecomment-2189726990

   Have ran above scripts on the server with the build, which included fixes 
from branch PG16 and all completed successfully.
   So, it does look like cypher parser is accepting 100+ parameters for various 
commands, however, the call to function agtype_biuld_map fails.
   Looks like my original intent to add function call with jsonb block as input 
will be of use.
   I may still need to check, if it is going to be array or set of json 
properties. The goal is to have something like
   ```
   for m
   in select * from t
   loop
       agtype_map_input_parameter := jsonb_to_agtype_map(m);
       select into output_var
                 t.a
      from cypher ('my_graph', $$
         CREATE (v:MyVertice { p1:$p1, .... })
      $$, agtype_map_input_parameter);
   end loop
   ```
   without having to split map building call into many - many "add_agtype(m, 
new_set)" calls.
   The fix for CREATE call certainly helps greatly! Thank you.


-- 
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-unsubscr...@age.apache.org

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

Reply via email to