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
  • 612 Views
  • 0 replies
  • 0 kudos

Pulling nested queries into react

I need to get the roll name and roll type in react. Here is my query... import gql from "graphql-tag"; const Person = gql` query Person{ Person{ id name roll { name type } } } `; export default Pe...

Py2neo -- how to fix circular references?

We are trying to build a full OGM for a Python/Flask based backend which uses Neo4j. The problem I am running into is with the RelatedTo and RelatedFrom parts of Py2neo.ogm framework. Naturally, if my graph has a structure like (a)-[:LINKS_TO]->(b) I...

Resolved! Writing relationship mutation

schema.graphql type Person { id: ID! name: String! roll: [Roll] @relation(name: "PLAYING", direction: "OUT") } type Roll { id: ID! type: String! name: String! person: [Person] @relation(name: "PLAYING", direction: "IN") } type Query {...

Avoiding cypher injects when using parameter maps

I have a use case where I'm generating a dynamic query before eventually calling session.query(...) with it. I'm providing a parameter map to the function that has input that comes from the user. I figured this input would get automatically sanitized...

Saving multiple nodes with repository method

Hi devs, I wonder if anyone else encountered this issue. public class NodeA{ Set<NodeB> nodeBSet; public void addNodeB(NodeB b){ if(nodeBSet == null) nodeBSet = new HashSet<>(); nodeBSet.add(b); } } Then I have a method to assemble...

Resolved! Adding Relationships query Hangs

Neo4j : 3.5.5 Driver : Python 1.7.2 Model is self explanatory. Book contains many instruments. Instrument has many dependencies There are 1.3 M Relationships and 1.7 M Nodes. I ran the following query to add one more relationship with additional att...

Live Query Feature in Python Driver?

Hi, Java's OGM API had Transaction Event Listeners which provides user with call backs for PRE/POST for session.save/delete. Does the same exists for Python Driver? Any library which can simulate 'live query' feature? Live query - getting updates/cal...

OGM RelationshipEntity between nodes of same label

Weird question, but I can't find any related docs. In most cases, whenever I'm mapping through @Relationship entities, the source and target nodes have differing labels / model classes. Now I have a case where I need to map sources and targets of the...

Jiropole by Graph Voyager
  • 2676 Views
  • 6 replies
  • 0 kudos

Dynamically map node properties

I am trying to map the properties of a node entity to my prop field, but I can't seem to get it work. For some reason, it's always null. I've tried to follow this: https://neo4j.com/docs/ogm-manual/current/reference/#reference:annotating-entities:nod...