Code Monkey home page Code Monkey logo

Comments (3)

michael-simons avatar michael-simons commented on May 29, 2024

Hello Maxime.

Could you clarify?

The following works (Neo4j 4.3)

 create (a:N {p: [2339, 2880]})
             with a
             unwind a.p as v
             return v;
+------+
| v    |
+------+
| 2339 |
| 2880 |
+------+
neo4j@neo4j> create (a:N {p: [2339, 2880]})
             with a return apoc.convert.toIntList(a.p);
+-----------------------------+
| apoc.convert.toIntList(a.p) |
+-----------------------------+
| [2339, 2880]                |
+-----------------------------+

Type of the property as expected:

neo4j@neo4j> match (a:N) return apoc.meta.type(a.p);
+---------------------+
| apoc.meta.type(a.p) |
+---------------------+
| "long[]"            |
| "long[]"            |
+---------------------+

As you specifically asks with APOC and specific Neo4j functions, I assume you are using Neo4j and not another product; meaning the issue is actually openCypher related and not a vendor specific problem.

from opencypher.

Cobra5197 avatar Cobra5197 commented on May 29, 2024

I was developing the query with the Neo4j browser. I feel like I'm crazy because there seems to be no problem now. I was on Neo4j 4.4.2 when this issue occurred. I can't reproduce the error anymore.

from opencypher.

michael-simons avatar michael-simons commented on May 29, 2024

Hehe, I know that feels, happens to most of us.

If there isn’t anything to help you on this, we would rather close this issue.

from opencypher.

Related Issues (20)

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.