Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dse-graph

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dse-graph

DataStax Enterprise Node.js Driver Extensions for DSE Graph

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

DataStax Enterprise Node.js Driver Extensions for DSE Graph

This package builds on the DataStax Enterprise Node.js driver, adding functionality for interacting with DSE graph features and Apache TinkerPop.

DSE Graph Extensions for DataStax Enterprise Node.js Driver can be used solely with DataStax Enterprise. Please consult the license.

Installation

npm install dse-graph

Documentation

Getting Help

You can use the project mailing list or create a ticket on the Jira issue tracker.

Basic Usage

Create a dse.Client instance and use it to obtain traversal sources:

const dse = require('dse-driver');
const dseGraph = require('dse-graph');

const client = new dse.Client({
  contactPoints: ['host1', 'host2'],
  graphOptions:  { name: 'my_graph' }
});

// Obtain a traversal source, used to create traversals
const g = dseGraph.traversalSource(client);

// Use the traversal source to create traversals
// ie: Print john's friends names
g.V().has('name','john').out('friends').values('name').toList()
  .then(names => names.forEach(console.log));

You should reuse the Client instance across your application.

Read the full Getting Started Guide.

License

Copyright 2016-2018 DataStax

https://www.datastax.com/terms/datastax-dse-driver-license-terms


Apache TinkerPop, TinkerPop, Apache are registered trademarks of The Apache Software Foundation.

Keywords

FAQs

Package last updated on 24 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc