# \#javascript

**URL:** https://community.neo4j.com/tag/javascript/298.md

[Latest](https://community.neo4j.com/latest.md) · [Categories](https://community.neo4j.com/categories.md) · [Tags](https://community.neo4j.com/tags.md)

---

## [Exploring Neo4j for RAG](https://community.neo4j.com/t/exploring-neo4j-for-rag/73762)

<div class="topic-metadata">

**Author:** [@GreenFlux](https://community.neo4j.com/u/GreenFlux)\
**Replies:** 1\
**Last updated:** [May 5, 2025, 5:28pm UTC](https://community.neo4j.com/t/exploring-neo4j-for-rag/73762 "2025-05-05T17:28:59Z")

</div>

Hey everyone, I'm Joseph and I lead the Developer Relations team at Appsmith. I also run my own consulting business focused on low-code and AI. I'm exploring Neo4j as a source for retrieval-augmented generation for AI …

---

## [Unhandled ExclusiveLock Exception in Node.js with Neo4j 5.26.1 – Unable to Catch the Error](https://community.neo4j.com/t/unhandled-exclusivelock-exception-in-node-js-with-neo4j-5-26-1-unable-to-catch-the-error/72866)

<div class="topic-metadata">

**Author:** [@nadavbi87](https://community.neo4j.com/u/nadavbi87)\
**Replies:** 2\
**Last updated:** [March 28, 2025, 12:19pm UTC](https://community.neo4j.com/t/unhandled-exclusivelock-exception-in-node-js-with-neo4j-5-26-1-unable-to-catch-the-error/72866 "2025-03-28T12:19:23Z")

</div>

Hi everyone, I’m running a highly concurrent application that writes multiple nodes and relationships into Neo4j Enterprise Edition 5.26.1 using the official Neo4j Node.js driver 5.26. The entire application is wrapped …

---

## [No Routing servers available](https://community.neo4j.com/t/no-routing-servers-available/60992)

<div class="topic-metadata">

**Author:** [@taylor](https://community.neo4j.com/u/taylor)\
**Replies:** 0\
**Last updated:** [February 20, 2023, 8:44pm UTC](https://community.neo4j.com/t/no-routing-servers-available/60992 "2023-02-20T20:44:58Z")

</div>

I'm working with Nestjs and using GitHub - adam-cowley/nest-neo4j: A NestJS module for integrating with Neo4j. I was using Drivine but ran into session issues executing write queries interesting through json. I'm getting…

---

## [Submit query and pick up the results later?](https://community.neo4j.com/t/submit-query-and-pick-up-the-results-later/55561)

<div class="topic-metadata">

**Author:** [@chrszrkl](https://community.neo4j.com/u/chrszrkl)\
**Replies:** 4\
**Last updated:** [May 8, 2022, 3:06pm UTC](https://community.neo4j.com/t/submit-query-and-pick-up-the-results-later/55561 "2022-05-08T15:06:38Z")

</div>

I have long running queries which create/change a lot of nodes and relationships and take they usually take a few minutes to complete. I run these queries from a serverless function on AWS Lambda, so I'm charged on the e…

---

## ["Server responded HTTP" Error](https://community.neo4j.com/t/server-responded-http-error/23262)

<div class="topic-metadata">

**Author:** [@iaafbbphone](https://community.neo4j.com/u/iaafbbphone)\
**Replies:** 3\
**Last updated:** [March 28, 2022, 7:30am UTC](https://community.neo4j.com/t/server-responded-http-error/23262 "2022-03-28T07:30:04Z")

</div>

Hi. I started neo4j:enterprise on a k8s container and I mapped port 7687 to 80, so when I want to connect to neo4j server I should connect to this address: bolt://db.site.com:80 with default username and password. I can…

---

## [Came for the vibe, stayed for the tech](https://community.neo4j.com/t/came-for-the-vibe-stayed-for-the-tech/53912)

<div class="topic-metadata">

**Author:** [@ChakaBrah](https://community.neo4j.com/u/ChakaBrah)\
**Replies:** 0\
**Last updated:** [March 25, 2022, 11:50am UTC](https://community.neo4j.com/t/came-for-the-vibe-stayed-for-the-tech/53912 "2022-03-25T11:50:53Z")

</div>

Hi all, You can call me Chaka in here! I'm an entrepreneur that has chosen to use Neo4j in an app we're building. After many years and projects in SQL, I decided to visit one of the Neo4j events. I decided to visit it…

---

## [Desktop neo4j uri format](https://community.neo4j.com/t/desktop-neo4j-uri-format/50432)

<div class="topic-metadata">

**Author:** [@arunkumar413](https://community.neo4j.com/u/arunkumar413)\
**Replies:** 7\
**Last updated:** [January 14, 2022, 3:49pm UTC](https://community.neo4j.com/t/desktop-neo4j-uri-format/50432 "2022-01-14T15:49:47Z")

</div>

Hello All, How to connect to neo4j desktop db in an JavaScript express app? what is the uri of the desktop db in the below snippet? Also after initializing the session in a express js module how to use it in another mod…

---

## [How to make a table of result?](https://community.neo4j.com/t/how-to-make-a-table-of-result/47244)

<div class="topic-metadata">

**Author:** [@Ooker](https://community.neo4j.com/u/Ooker)\
**Replies:** 1\
**Last updated:** [November 14, 2021, 5:57pm UTC](https://community.neo4j.com/t/how-to-make-a-table-of-result/47244 "2021-11-14T17:57:11Z")

</div>

Below is a sample code from @mdfrenchman in the thread Response in the form of table/columns + data instead of records. But when I change the query to MATCH (n) RETURN n.name it returns nothing. Does anyone have a workin…

---

## [Simple JS Interface for the Driver](https://community.neo4j.com/t/simple-js-interface-for-the-driver/46788)

<div class="topic-metadata">

**Author:** [@yyakovson613](https://community.neo4j.com/u/yyakovson613)\
**Replies:** 0\
**Last updated:** [November 1, 2021, 1:32pm UTC](https://community.neo4j.com/t/simple-js-interface-for-the-driver/46788 "2021-11-01T13:32:20Z")

</div>

I just published a node package neo-forte to simplify using the neo4j-driver for beginners. The goal is to provide the simplicity of the data browser. You just need to know cypher. But it might be appealing to experie…

---

## [Getting null/undefined as values from relationship keys](https://community.neo4j.com/t/getting-null-undefined-as-values-from-relationship-keys/45848)

<div class="topic-metadata">

**Author:** [@oz.agupta1409](https://community.neo4j.com/u/oz.agupta1409)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 1:17pm UTC](https://community.neo4j.com/t/getting-null-undefined-as-values-from-relationship-keys/45848 "2021-10-14T13:17:11Z")

</div>

Hello everyone, I am quite new to the Neo4j platform (having an experience of only 2.5 months) and in the middle of creating an application in Node.JS with neo4j-driver to work on a graphdb in neo4j-aura. One of my que…

---

## [Node.js neo4J connection](https://community.neo4j.com/t/node-js-neo4j-connection/45174)

<div class="topic-metadata">

**Author:** [@kyawzinthiha.dev.off](https://community.neo4j.com/u/kyawzinthiha.dev.off)\
**Replies:** 0\
**Last updated:** [September 30, 2021, 4:06pm UTC](https://community.neo4j.com/t/node-js-neo4j-connection/45174 "2021-09-30T16:06:39Z")

</div>

I am building social media api which will probably run 24/7. I previously used mongoDB. I am switching to neo4J. In npm documentation it says to close connection and session after done. Do I need to close the connection…

---

## [GraphQL is returning \[object Object\]](https://community.neo4j.com/t/graphql-is-returning-object-object/41377)

<div class="topic-metadata">

**Author:** [@savanah.m.barnes](https://community.neo4j.com/u/savanah.m.barnes)\
**Replies:** 4\
**Last updated:** [August 19, 2021, 9:26pm UTC](https://community.neo4j.com/t/graphql-is-returning-object-object/41377 "2021-08-19T21:26:12Z")

</div>

I am using R/Shiny with Apollo and the Neo4j GraphQL Library. I am inferring my schema using this: const inferAugmentedSchema = driver =\> { return inferSchema(driver).then(result =\> { console.log(result.typeDefs) …

---

## [How to handle Deadlocks using the javascript neo4j driver?](https://community.neo4j.com/t/how-to-handle-deadlocks-using-the-javascript-neo4j-driver/42429)

<div class="topic-metadata">

**Author:** [@yacine.brini00](https://community.neo4j.com/u/yacine.brini00)\
**Replies:** 0\
**Last updated:** [August 4, 2021, 12:23pm UTC](https://community.neo4j.com/t/how-to-handle-deadlocks-using-the-javascript-neo4j-driver/42429 "2021-08-04T12:23:02Z")

</div>

I'm using the javascript neo4j-driver and Neo4j Aura ,sometimes I'm facing this error : Neo4jError: ForsetiClient\[3\] can't acquire ExclusiveLock{owner=ForsetiClient\[0\]} on INDEX\_ENTRY(5454851920060587002), because hold…

---

## [Reactive session with JavaScript](https://community.neo4j.com/t/reactive-session-with-javascript/41936)

<div class="topic-metadata">

**Author:** [@tard\_gabriel](https://community.neo4j.com/u/tard_gabriel)\
**Replies:** 2\
**Last updated:** [July 26, 2021, 6:27pm UTC](https://community.neo4j.com/t/reactive-session-with-javascript/41936 "2021-07-26T18:27:20Z")

</div>

Hello there I'm trying to make a simple code like this one below work, but it doesn't. Reactive session poorly documented in the JavaScript driver manual. Here is the code: function readTimebarDataReactive(entity,tim…

---

## [Add mandatory server side filtering on the query resolver](https://community.neo4j.com/t/add-mandatory-server-side-filtering-on-the-query-resolver/37674)

<div class="topic-metadata">

**Author:** [@pwmb](https://community.neo4j.com/u/pwmb)\
**Replies:** 1\
**Last updated:** [May 3, 2021, 6:11pm UTC](https://community.neo4j.com/t/add-mandatory-server-side-filtering-on-the-query-resolver/37674 "2021-05-03T18:11:06Z")

</div>

So I want to write a custom query resolver where user are querying for Projects GQL type looks something like this type Projects { id: ID! name: String! users: \[User!\]! @relation(name: "CAN\_ACCESS", direction: IN…

---

## [How to search by node properties in yFiles connected to Neo4j](https://community.neo4j.com/t/how-to-search-by-node-properties-in-yfiles-connected-to-neo4j/36727)

<div class="topic-metadata">

**Author:** [@vaishnavimahajan019](https://community.neo4j.com/u/vaishnavimahajan019)\
**Replies:** 1\
**Last updated:** [April 12, 2021, 6:47pm UTC](https://community.neo4j.com/t/how-to-search-by-node-properties-in-yfiles-connected-to-neo4j/36727 "2021-04-12T18:47:47Z")

</div>

Hi all, I have data present in Neo4j and getting the Schema on to UI by yFiles as shown in images.2021-04-12 (1)|690x388 I have two questions I have only two level schema first level contain 1 node and second leve…

---

## [Gremlin, Nodejs, & Neo4j](https://community.neo4j.com/t/gremlin-nodejs-neo4j/17248)

<div class="topic-metadata">

**Author:** [@amerharb](https://community.neo4j.com/u/amerharb)\
**Replies:** 6\
**Last updated:** [April 7, 2021, 9:57am UTC](https://community.neo4j.com/t/gremlin-nodejs-neo4j/17248 "2021-04-07T09:57:20Z")

</div>

I have Neo4j version 4.x server installed locally. Is there is a way to connect to it from Nodejs using Gremlin driver? I have tried this plugin: but it is old and archived repo. also it seems that it only supports N…

---

## [Custom traversal via node.js API](https://community.neo4j.com/t/custom-traversal-via-node-js-api/34844)

<div class="topic-metadata">

**Author:** [@shahar1](https://community.neo4j.com/u/shahar1)\
**Replies:** 0\
**Last updated:** [March 8, 2021, 8:59am UTC](https://community.neo4j.com/t/custom-traversal-via-node-js-api/34844 "2021-03-08T08:59:52Z")

</div>

Hi, I am building a tree-like graph of network based on CIDRs, like this (simplified) example: Red nodes represent CIDRs, for example 10.0.0.0/27, 10.0.0.0/28, etc. Brown nodes represent that /32 IPs, for example 10…

---

## [GRAND Stack : One schema to rule them all](https://community.neo4j.com/t/grand-stack-one-schema-to-rule-them-all/25055)

<div class="topic-metadata">

**Author:** [@logisima](https://community.neo4j.com/u/logisima)\
**Replies:** 2\
**Last updated:** [February 22, 2021, 11:01am UTC](https://community.neo4j.com/t/grand-stack-one-schema-to-rule-them-all/25055 "2021-02-22T11:01:41Z")

</div>

Hey there, I just publish a blog post about the GRAND Stack (with neo4j-graphql-js) on how to propagate your typescript types from the database to the frontend : GRAND Stack: One schema to rule them all ( :uk: ) GRAND…

---

## [Need example to send multiple queries in a single transaction at the same time, using JavaScript](https://community.neo4j.com/t/need-example-to-send-multiple-queries-in-a-single-transaction-at-the-same-time-using-javascript/34061)

<div class="topic-metadata">

**Author:** [@ninesunqian](https://community.neo4j.com/u/ninesunqian)\
**Replies:** 0\
**Last updated:** [February 21, 2021, 5:02am UTC](https://community.neo4j.com/t/need-example-to-send-multiple-queries-in-a-single-transaction-at-the-same-time-using-javascript/34061 "2021-02-21T05:02:22Z")

</div>

I want send multiple irrelevant in one transaction at the same time， to reduce the delay and the number of tcp connections. But I can't find the example code in online the documents. Help me! Thanks very much!

---

## [Pass Neo4j Auth from Server to Client](https://community.neo4j.com/t/pass-neo4j-auth-from-server-to-client/33825)

<div class="topic-metadata">

**Author:** [@keithave](https://community.neo4j.com/u/keithave)\
**Replies:** 2\
**Last updated:** [February 17, 2021, 4:12pm UTC](https://community.neo4j.com/t/pass-neo4j-auth-from-server-to-client/33825 "2021-02-17T16:12:12Z")

</div>

Howdy, Using node.js and .ejs What is the best way to pass neo4j.driver auth info from server to client? I'm assuming this can be done? Here's what I have... server.js const driver = neo4j.driver('bolt://localhos…

---

## [Neo4j from JavaScript](https://community.neo4j.com/t/neo4j-from-javascript/20564)

<div class="topic-metadata">

**Author:** [@Shurupa](https://community.neo4j.com/u/Shurupa)\
**Replies:** 3\
**Last updated:** [December 4, 2020, 5:35pm UTC](https://community.neo4j.com/t/neo4j-from-javascript/20564 "2020-12-04T17:35:35Z")

</div>

Hi All, I am a student trying to build a web application using neo4j as the back end. I would like to connect my front end, in which I am using HTML and javaScript to connect to neo4j, but I'm having trouble understandi…

---

## [Use Javascript driver from frontend only 'framework' svelte.js](https://community.neo4j.com/t/use-javascript-driver-from-frontend-only-framework-svelte-js/28297)

<div class="topic-metadata">

**Author:** [@mojo2go](https://community.neo4j.com/u/mojo2go)\
**Replies:** 3\
**Last updated:** [November 6, 2020, 10:37pm UTC](https://community.neo4j.com/t/use-javascript-driver-from-frontend-only-framework-svelte-js/28297 "2020-11-06T22:37:19Z")

</div>

Svelte.js is a front-end only web 'framework'. Introduction / Basics • Svelte Tutorial I would like to use it to connect to Neo4j. I feel that this must be possible using one of our browser-based bolt access methods, …

---

## [An expression-session-store for Neo4j](https://community.neo4j.com/t/an-expression-session-store-for-neo4j/23950)

<div class="topic-metadata">

**Author:** [@jan1](https://community.neo4j.com/u/jan1)\
**Replies:** 0\
**Last updated:** [August 23, 2020, 9:02pm UTC](https://community.neo4j.com/t/an-expression-session-store-for-neo4j/23950 "2020-08-23T21:02:33Z")

</div>

Hi everyone. I wrote a session store for neo4j and express-session. You can use it with npm install neo4j-session-store The use case is here that you want a web session store on Neo4j, for example because you only wan…

---

## [Return list of nodes with neo4j-driver Javascript](https://community.neo4j.com/t/return-list-of-nodes-with-neo4j-driver-javascript/17118)

<div class="topic-metadata">

**Author:** [@Keydex](https://community.neo4j.com/u/Keydex)\
**Replies:** 1\
**Last updated:** [August 19, 2020, 7:42pm UTC](https://community.neo4j.com/t/return-list-of-nodes-with-neo4j-driver-javascript/17118 "2020-08-19T19:42:19Z")

</div>

Hello, I was wondering if there was a native way with the driver to return a list of nodes, rather than looping through the data and flattening it out myself. There are also unneeded fields such as identity and labels fo…

---

## [How to iteratively expand nodes (on clicking) using popoto.js?](https://community.neo4j.com/t/how-to-iteratively-expand-nodes-on-clicking-using-popoto-js/21468)

<div class="topic-metadata">

**Author:** [@gavvalrohit21](https://community.neo4j.com/u/gavvalrohit21)\
**Replies:** 2\
**Last updated:** [July 13, 2020, 5:27am UTC](https://community.neo4j.com/t/how-to-iteratively-expand-nodes-on-clicking-using-popoto-js/21468 "2020-07-13T05:27:29Z")

</div>

I am developing a web interface to the neo4j database using popoto.js. Currently, I am able to display a start node and expand the graph up to 3-4 levels by clicking on the node relationships. It seems that the underlyin…

---

## [Merging resolvers from neo4j-graphql-js and regular datastore don't work](https://community.neo4j.com/t/merging-resolvers-from-neo4j-graphql-js-and-regular-datastore-dont-work/6468)

<div class="topic-metadata">

**Author:** [@npatel](https://community.neo4j.com/u/npatel)\
**Replies:** 1\
**Last updated:** [April 9, 2019, 9:38pm UTC](https://community.neo4j.com/t/merging-resolvers-from-neo4j-graphql-js-and-regular-datastore-dont-work/6468 "2019-04-09T21:38:48Z")

</div>

Hi, I have a graph network with minimum info about products and their relations. All the detail information is in mysql database and available via a REST api call. MY Schema: type Product { id: ID name: Stri…

---

## [Error on receiving Json Data](https://community.neo4j.com/t/error-on-receiving-json-data/16381)

<div class="topic-metadata">

**Author:** [@raissadias.fac](https://community.neo4j.com/u/raissadias.fac)\
**Replies:** 1\
**Last updated:** [June 29, 2020, 4:02pm UTC](https://community.neo4j.com/t/error-on-receiving-json-data/16381 "2020-06-29T16:02:05Z")

</div>

Im trying to do a simple application with neo4j and nodejs, but I've just get stuck in this strange response. I'm inserting things on neo4j and it works, but when I try to use cypher to catch other node attributes i find…

---

## [Nesting Mutation Create with Relationship or Custom Mutation Create with Relationship](https://community.neo4j.com/t/nesting-mutation-create-with-relationship-or-custom-mutation-create-with-relationship/17088)

<div class="topic-metadata">

**Author:** [@nikosantis](https://community.neo4j.com/u/nikosantis)\
**Replies:** 3\
**Last updated:** [June 1, 2020, 7:54pm UTC](https://community.neo4j.com/t/nesting-mutation-create-with-relationship-or-custom-mutation-create-with-relationship/17088 "2020-06-01T19:54:02Z")

</div>

Hello I have been searching but cannot find a satisfactory answer on this. Y have: type Country { countryId: ID name: String! shortName: String! companies: \[Company\] @relation(name: "LOCATED\_IN", direction: "I…

---

## [Struggling to Draw Relationship from index i of List1 to index i of List2](https://community.neo4j.com/t/struggling-to-draw-relationship-from-index-i-of-list1-to-index-i-of-list2/18733)

<div class="topic-metadata">

**Author:** [@racket8484](https://community.neo4j.com/u/racket8484)\
**Replies:** 4\
**Last updated:** [May 17, 2020, 8:41pm UTC](https://community.neo4j.com/t/struggling-to-draw-relationship-from-index-i-of-list1-to-index-i-of-list2/18733 "2020-05-17T20:41:17Z")

</div>

Hi :slight\_smile: I've been struggling for awhile trying to upload transactions to Neo4j. I have 1 list of "from" addresses, another list of "to" addresses, and a third list of "values". I want to draw a single relation…

[Next page](https://community.neo4j.com/tag/javascript/298.md?match_all_tags=true&page=1&tags%5B%5D=javascript)
