danny50610 opened a new pull request, #348:
URL: https://github.com/apache/age-website/pull/348

   Based on the tutorial
   
   First run this
   ```
   PREPARE cypher_stored_procedure(agtype) AS
   SELECT *
   FROM cypher('expr', $$
       MATCH (v:Person) 
       WHERE v.name = $name
       RETURN v
   $$, $1)
   AS (v agtype);
   ```
   
   Then run this
   ```
   EXECUTE cypher_prepared_statement('{"name": "Tobias"}');
   ```
   
   Will encounter an error
   ```
   [42601] ERROR: syntax error at or near "cypher_prepared_statement"
   ```
   
   If changed to this, it will work correctly.
   ```
   EXECUTE cypher_stored_procedure('{"name": "Tobias"}');
   ```
   
   This PR is identical to PR#105. The credit should go to the author of PR#105.


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

Reply via email to