Skip to content

Mangled records returned from bolt driver. #64

Closed
@holmok

Description

@holmok

local neo4j version: 3.0.0-M05
driver version 1.0.0

code:

'use strict';
var neo4j = require('neo4j-driver').v1;
var driver = neo4j.driver("bolt://localhost", neo4j.auth.basic("neo4j", "-----"));

var session = driver.session();

session.run("MATCH (n:ATTRACTION) RETURN n LIMIT 20;")
    .subscribe(
        {
            onNext: function (record) {
                var node = record.get('n');
                console.log(node);
            },
            onCompleted: function () {
                // Completed!
                session.close();
            },
            onError: function (error) {
                console.log(error);
            }
        }
    );

all the nodes look fine, but one looks like this:

Node {
  identity: Integer { low: 4373, high: 0 },
  labels: 
   [ '�q��N�\u0011\u0015��',
     Integer { low: 65, high: 0 },
     Integer { low: 84, high: 0 },
     Integer { low: 84, high: 0 } ],
  properties: Integer { low: 82, high: 0 } }

it's a fairly random smattering. any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions