import{_ as s}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as a,a as i,o as n}from"./app-h9l50wZ_.js";const r={};function t(l,e){return n(),a("div",null,e[0]||(e[0]=[i('<h1 id="neo4j-graphql-js" tabindex="-1"><a class="header-anchor" href="#neo4j-graphql-js"><span>neo4j-graphql.js</span></a></h1><p>We use an npm package called <code>neo4j-graphql-js</code> as a cypher query builder. This library also generates resolvers for graphql queries, unless we implement them ourselves.</p><h2 id="debugging" tabindex="-1"><a class="header-anchor" href="#debugging"><span>Debugging</span></a></h2><p>As you can see in their <a href="https://github.com/neo4j-graphql/neo4j-graphql-js" target="_blank" rel="noopener noreferrer">documentation</a> it is possible to log out the generated cypher statements. To do so, run the backend like this:</p><div class="language-sh line-numbers-mode" data-highlighter="shiki" data-ext="sh" data-title="sh" style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34;"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code><span class="line"><span style="--shiki-light:#E45649;--shiki-dark:#E06C75;">DEBUG</span><span style="--shiki-light:#383A42;--shiki-dark:#56B6C2;">=</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379;">neo4j-graphql-js</span><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF;"> yarn</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379;"> run</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379;"> dev</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div></div></div>',5)]))}const p=s(r,[["render",t],["__file","neo4j-graphql-js.html.vue"]]),d=JSON.parse('{"path":"/backend/neo4j-graphql-js.html","title":"neo4j-graphql.js","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"Debugging","slug":"debugging","link":"#debugging","children":[]}],"git":{"createdTime":1775351521000,"updatedTime":1775351521000,"contributors":[{"name":"dependabot[bot]","email":"49699333+dependabot[bot]@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":0.23,"words":68},"filePathRelative":"backend/neo4j-graphql-js.md","localizedDate":"April 5, 2026","excerpt":"\\n<p>We use an npm package called <code>neo4j-graphql-js</code> as a cypher query builder. This\\nlibrary also generates resolvers for graphql queries, unless we implement them\\nourselves.</p>\\n<h2>Debugging</h2>\\n<p>As you can see in their <a href=\\"https://github.com/neo4j-graphql/neo4j-graphql-js\\" target=\\"_blank\\" rel=\\"noopener noreferrer\\">documentation</a>\\nit is possible to log out the generated cypher statements. To do so, run the\\nbackend like this:</p>"}');export{p as comp,d as data};
