Skip to content

Pajn/Neo4jDart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neo4j for Dart

Build Status Coverage Status

A Neo4j driver for Dart. Both a simple driver for executing Cypher queries and an Warehouse adapter that implements the GraphDbSession interface. The previously provided OGM (Object Graph Mapper) is deprecated and is being replaced by Warehouse.

Usage

A simple usage example:

import 'package:neo4j_dart/neo4j_dart.dart';

main() async {
  var db = new Neo4j();
  var result = await db.cypher('''
        Create (dart:Language {dart})-[:connects_to]->(neo4j:Database {neo4j})
        Return id(dart), id(neo4j)
      ''', parameters: {
        'dart': { 'name': 'Dart' },
        'neo4j': { 'name': 'Neo4j' },
      });

  print('successfully created two nodes with id ${result['data'][0]['row'].join(' and ')}');
}

See the example or test folder for more example usages and Warehouse for documentation on using the adapter.

Features and bugs

Please file feature requests and bugs at the issue tracker. See waffle for current work status.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published