cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Forum Posts

About the Drivers & Stacks category

All applications using Neo4j depend on drivers to execute statements to update or query data. Neo4j drivers are mostly built on the binary Bolt protocol. Official drivers exist for Java, JavaScript, .Net, Python, and Go and more. Other languages (R, ...

yolande by Community Team
  • 574 Views
  • 0 replies
  • 0 kudos

Handling infinite result streams

From the org.neo4j.driver.v1.StatementRunner javadoc : While these semantics introduce some complexity, it gives the driver the ability to handle infinite result streams (like subscribing to events), significantly lowers the memory overhead for your...

Driver & Docker Headache

No I have been trying to dockerize my go api which is supposed to use the new driver to connect to a database installed in another container. I have followed an article and thanks to the author, I was able to build the application using docker-compos...

Py2neo docs : suggestions to improve the documentation

Hi guys I am learning both CYPHER and py2neo and sometimes I feel that things could be improved in the documentation for this (py2neo http://py2neo.org) particular driver. I made some comments on Slack about it and I was recommended to be more precis...

MiniMe by Node
  • 2054 Views
  • 4 replies
  • 0 kudos

Resolved! Mutation for relationship with objects as arguments

Hi, I have a mutation createaAccess that creates a HAS_ACCESS_TO relationship between 2 nodes. This works fine. createaAccess(user: ID!, entity_role: [String]!, application_role: [String]!, entity: Int!): WorkstationUser @cypher( statem...

npatel by Node Clone
  • 1991 Views
  • 1 replies
  • 0 kudos

Resolved! Mutation for creating relationship

export const typeDefs = ` type University { id: ID! level: Int } type Department { id: ID! name: String level: Int has: [Position] @relation(name: "HAS", direction: "OUT") childsof: [Department] @relation(name: "CHILD_OF", direction: "I...

Example with the Movie database

Hi everyone! I finally made the neo4r movie database example, I didn't follow the neo4j example because it didn't cover the main functions of the neo4r package. Also, there are some issues to fix. Anyway, I prefer to wait for revision to merge in the...

How to set logging into logfile for Neo4j driver

Hello, I invoke the Neo4j driver from an application to connect to Neo4j. Now I use a logger in my application and write the logs of my application into a certain log file in the application directory. In addition, I now have the requirement that all...

SDN + Reactive?

My colleague who understands the Java stack far better than I pointed out that a synchronously queried database may not work so well with the reactive patterns we're using in our projects (WebFlux). The concern was thread starvation, so he found me t...

Jiropole by Graph Voyager
  • 2071 Views
  • 3 replies
  • 2 kudos

Is getQueryStatistics() reliable

Hi all, I am working on a unit test for an extension to apoc I started long ago. So long, I am using a branch based upon neo 3.3 My test fails because t.getQueryStatistics().getNodesDeleted() is always zero. So I was wondering if getQueryStatistics w...

wadael by Node Clone
  • 628 Views
  • 0 replies
  • 0 kudos

Removing a relationship

So I have a quite functional setup that will add nodes as needed without duplication, however I'm at a total loss on how to remove a relationship between two nodes via save. Using og, 3.1.7 @NodeEntity public class Person extends Entity { @Relati...

How to map return type of repository method

I have a repository method that returns a list of lists. List<List<RouteRelationship>> findPaths(String a, String z, String rate); When I run my query with the repository method defined as above, I get no data returned. However if I change the meth...

2X_1_1bef4f68a3eccb70d9d568cbe1ba99a41c107fe3.png

Using Driver and OGM with datetimes

Hi, I'm using the java driver version 1.7.3, and the OGM 3.1.7 with the bolt driver. I've ended up using the java driver to import data, as doing it through the OGM was proving to be too slow (and ran out of memory for the larger data saves). I kep...