neo4driver 1.0.0 copy "neo4driver: ^1.0.0" to clipboard
neo4driver: ^1.0.0 copied to clipboard

outdated

Dart driver to use Neo4J database

Neo4Driver #

Neo4Driver is a Dart driver for Neo4j. The library uses the Neo4J REST API database.

Installation #

Add Neo4Driver to your project's pubspec.yaml file and run pub get:

dependencies:
 neo4dart: any

Usage #

Initialization : #

NeoClient.withAuthorization(  
  username: '{database_username}',  
  password: '{database_password}',  
  databaseAddress: 'http://{database_address}:7474/',  
);

Usage post-initialization : #

await NeoClient().createRelationship(  
  startNodeId: 1,  
  endNodeId: 2,  
  relationshipLabel: "rel_label",  
  properties: {
	  "Property1": "value1",
	  "Property2": 2,
  },  
);

Features #

  • findRelationshipById
  • findAllRelationship
  • findRelationshipWithStartNodeIdEndNodeId
  • findRelationshipWithNodeProperties
  • isRelationshipExistsBetweenTwoNodes
  • updateNodeById
  • updateRelationshipById
  • findAllNodesByProperties
  • findAllNodes
  • findNodeById
  • findAllNodesByLabel
  • getNodesWithHighestProperty
  • computeShortestPathDijkstra
  • computeDistanceBetweenTwoPoints
  • createGraphProjection
  • createRelationship
  • createRelationshipFromNodeToNodes
  • createNodeWithNode
  • createNode
  • deleteNodeById
  • deleteAllNode
13
likes
0
pub points
39%
popularity

Publisher

unverified uploader

Dart driver to use Neo4J database

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http

More

Packages that depend on neo4driver