Coder Social home page Coder Social logo

docs-cypher's Issues

Update duration.doc

Version: 5.5.0 instance on GraphAcademy

Hey,
I'm learning neo4j through graph academy and was learning about duration. In docs I found this section about inDays. The code however returns Duration in other format than specified. To get the duration in days, I had to additionally call .days. This is also what the transcript says in the GraphAcademy section about working with dates

Steps to reproduce:

  1. Copy the code from documentation and execute it
  2. You should receive Duration in other formats than days - see screenshot
    image

I encounter the same issue for toSeconds and toMonths

Possible solution:
Call days/seconds/months in the code snippet and update return values.

Neo.ClientError.Statement.SyntaxError

When I execute this statement:
MATCH (tom:Person {name:'Tom Hanks'})--{2}(colleagues:Person) RETURN DISTINCT colleagues.name AS name, colleagues.born AS bornIn ORDER BY bornIn LIMIT 5

the result:
Neo.ClientError.Statement.SyntaxError:Quantified path patterns are not yet supported. (line 1, column 38 (offset: 37)) "MATCH (tom:Person {name:'Tom Hanks'})--{2}(colleagues:Person)"

why ?
Document address

Neo4j Browser version: 5.11.0
Neo4j Server version: 5.3.0(enterprise)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.