-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I am running Titan on AWS with Dynamo storage. Everything hooks up fine and was able to add vertexes using gremlin console. I have a js file that uses titan-node to check a simple query. It keeps coming back undefined. Pretty sure I am missing something simple.
Here is my code.
var Titan = require('/root/node_modules/titan-node');
var gremlin = new Titan.Gremlin({ loglevel: 'OFF' });
var TitanFactory = gremlin.java.import('com.thinkaurelius.titan.core.TitanFactory')
var graph = TitanFactory.openSync('conf/gremlin-server/dynamodb.properties')
var g = gremlin.wrap(graph)
g.V('name', 'jason').next(function (err, jason) {
console.log(jason)
});
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels