What is the data in "node" initially and later. Or better use two different 
variable names.


>                db.insertNode(data,function(err, result){
>                    if(err){
>                         cb("Error while inserting ",{data: err});
>                         throw err;
>                    }else{
>                         console.log('Inserting node index ..' + result.type);
>                         console.log(data,result); // This is where I see NaN 
>                         insertIndex (result, index_name, cb);
>                    }
>                });


Am 24.12.2013 um 17:39 schrieb Shekar Tippur <[email protected]>:

> Here is a small snippet.
> 
>                db.insertNode(node,function(err, node){
>                    if(err){
>                         cb("Error while inserting ",{data: err});
>                         throw err;
>                    }else{
>                         //console.log('Inserting node index ..' + node.type);
>                         console.log(node); // This is where I see NaN
>                         insertIndex (node, index_name, cb);
>                    }
>                });
> 
> - Shekar
> 
> 
> On Monday, 23 December 2013 23:05:13 UTC-8, Peter Neubauer wrote:
> Do you have some code, or a small test that we can look at, showing this 
> behavior?
> 
> /peter
> 
> (snt)-[:frm]->(phn)
> 
> On Dec 24, 2013 6:58 AM, "Shekar Tippur" <[email protected]> wrote:
> Hello,
> 
> I just pointed the neo4j instance to graphenedb.
> 
> 2013-12-23T23:10:16.546863+00:00 app[web.1]: { name: 'test',
> 2013-12-23T23:10:16.546863+00:00 app[web.1]:   last_upd: 
> '2013-12-23T23:10:16.526Z',
> 2013-12-23T23:10:16.546863+00:00 app[web.1]:   cr_date: 
> '2013-12-23T23:10:16.526Z',
> 2013-12-23T23:10:16.546863+00:00 app[web.1]:   type: 'test_category',
> 2013-12-23T23:10:16.546863+00:00 app[web.1]:   _id: NaN }
> 
> 
> As we can, ID is still _id and the valus is NaN. I am using node-neo4j module 
> to insert node. Not sure what I am doing wrong.
> 
> - Shekar
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to