This is an automated email from the ASF dual-hosted git repository.

dehowef pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 5d5aee67 Fixed query in docs/advanced/sql_in_cypher.md (#237)
5d5aee67 is described below

commit 5d5aee6793edcf02133550fb69903e4d84e885f2
Author: Bhaskar Sharma <[email protected]>
AuthorDate: Fri Dec 1 01:12:43 2023 +0100

    Fixed query in docs/advanced/sql_in_cypher.md (#237)
    
    Fixed query (variable name).
---
 docs/advanced/sql_in_cypher.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/advanced/sql_in_cypher.md b/docs/advanced/sql_in_cypher.md
index fbf2b148..32f5c49f 100644
--- a/docs/advanced/sql_in_cypher.md
+++ b/docs/advanced/sql_in_cypher.md
@@ -25,7 +25,7 @@ $$ LANGUAGE sql;
 SELECT * FROM cypher('graph_name', $$
        MATCH (e:event)
        WHERE e.year < public.get_event_year(e.name)
-       RETURN n.name
+       RETURN e.name
 $$) as (n agtype);
 
 ```

Reply via email to