GitHub user wgmayer0 added a comment to the discussion: Simplify this query and remove redundancy
Does your code run? It's saying b.title is invalid On Tue, Sep 30, 2025 at 2:35 PM John Gemignani ***@***.***> wrote: > @wgmayer0 <https://github.com/wgmayer0> I use Copilot, but generally > speaking, if you can constrain the AI, you can get decent results. As for > your query, I will leave you with this snippet, which should help you out - > > psql-17.6-5432-pgsql=# select * from cypher('graph', $$ match (b:Book) return > pg_catalog.json_build_object(label(b)::text, b.title::pg_text) $$) as (result > json); > result > ------------------ > {"Book" : "Qrs"} > {"Book" : "Qrs"} > {"Book" : "Qrs"} > {"Book" : "Xyz"} > {"Book" : "Abc"} > {"Book" : "Abc"} > {"Book" : "Abc"} > (7 rows) > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/age/discussions/2226#discussioncomment-14555955>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ARTB5TONSTU5JBS2SRT3ZIT3VLEP7AVCNFSM6AAAAACH5EN6SKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINJVGU4TKNI> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> > GitHub link: https://github.com/apache/age/discussions/2226#discussioncomment-14556445 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
