This chapter describes some of the planned features, that we at Memgraph are working on.
Excellent database performance is one of Memgraph's long-standing goals. We will be continually working on improving the performance. This includes:
- query compilation;
- query execution;
- core engine performance;
- algorithmic improvements (i.e. bidirectional breadth-first search);
- memory usage and
- other improvements.
Although we have implemented the most common features of the openCypher query language, there are other useful features we are still working on.
Memgraph's openCypher implementation supports the most useful functions, but there are more which openCypher provides. Some are related to not yet implemented features like paths, while some may use the features Memgraph already supports. Out of the remaining functions, some are more useful than others and as such they will be supported sooner.
List comprehensions are similar to the supported
collect function, which
generates a list out of multiple values. But unlike
comprehensions offer a powerful mechanism for filtering or otherwise
manipulating values which are collected into a list.
For example, getting numbers between 0 and 10 and squaring them:
Another example, to collect
:Person nodes with
age less than 42, without
list comprehensions can be achieved with:
Using list comprehensions, the same can be done with the query: