GithubHelp home page GithubHelp logo

Comments (4)

gitbuda avatar gitbuda commented on August 28, 2024 1

Hi! Thank you for your kind words! You can also use filter lambda with any variable length path expression, an example is here https://docs.memgraph.com/memgraph/reference-guide/graph-algorithms#breadth-first-search :D Memgraph actually doesn't support time data types yet, you have to use integer or string for the time representation at this point. But, the next release in the middle of September is going to have temporal types supported. Stay tuned for that :D

from mgclient.

MasterMedo avatar MasterMedo commented on August 28, 2024 1

Also, instead of using the where clause you can specify the attributes withing the match clause:

MATCH p=(from {name: "Bob"})-[rel *1..3]->(to {name: "Frank"}) RETURN p

from mgclient.

stevemarin avatar stevemarin commented on August 28, 2024

Sorry, it's working. My problem was using a WHERE clause to filter results based on relation properties. My relations have dates, and I'm trying to filter such that I get all results between two dates. I'm seeing the issue:

DatabaseError: Only nodes, edges and maps have properties to be looked-up.

How would I filter edges with dates as properties while using a variable number of any type of edge?

from mgclient.

stevemarin avatar stevemarin commented on August 28, 2024

Again, sorry. This should probably be on the discussion board. Closing.

from mgclient.

Related Issues (13)

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.