Skip to content

Errors in Go's Driver Manual #43

@mariecurried

Description

@mariecurried

I'm new to Neo4j and I've been playing around with the whole platform. Lately, I've been experimenting with interacting with the DB from a Go program.
While reading the Driver Manual, I found a couple of errors in the examples.
In the section "3.3. Causal chaining", the function makeFriend is not using the bookmarks argument, which leads to an incorrect example.
In the section " 4.1. The Cypher type system", the equivalent to Neo4j's null type in Go is nil, not null.
In section "4.2.3. Consuming the stream", in the example a Session is created with AccessModeWrite, but the transaction run only reads. In spite of not making a difference in practice, I think it should be changed to AccessModeRead for consistency.

Thanks in advance,
Maria

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