GQLAlchemy is a library developed with the purpose of assisting in writing and running queries on Memgraph. GQLAlchemy supports high-level connection to Memgraph as well as modular query builder.
Then streamers would be a list of all Stream nodes that have property followers set to 500.
Then it won't be important that other properties are Optional and it is possible to get a list of matching streamers.
Related to the discussion at https://github.com/memgraph/gqlalchemy/issues/79.
Suppose we have a node defined:
And that we want to load all nodes that have
followers = 500
from the database.Something like:
streamers = memgraph.load_node_partial(Stream(followers=500))
Then
streamers
would be a list of allStream
nodes that have propertyfollowers
set to 500. Then it won't be important that other properties areOptional
and it is possible to get a list of matching streamers.