memgraph/tests
Teon Banek 9d3b4aab4b Make Where and NamedExpression macros easier to use
Summary:
`Where` can now be constructed in a `QUERY`, instead of requiring manual
addition to `Match`. For example:

    auto query = QUERY(MATCH(pattern), WHERE(expr), ...);

compared to:

    auto match = MATCH(pattern);
    match->where_ = WHERE(expr);
    auto query = QUERY(match, ...);

Similarly, `AS` can be used instead of `NEXPR` to create
`NamedExpressions` only with a name. This is meant to be used with
`RETURN` which will look at the previous `Expression` and store it
inside `NamedExpression`. For example:

    auto ret = RETURN(IDENT("n"), AS("n"),
                      PROPERTY_LOOKUP("n", prop), AS("prop_val"));

compared to:

    auto ret = RETURN(NEXPR("n", IDENT("n")),
                      NEXPR("prop_val", PROPERTY_LOOKUP("n", prop)));

Reviewers: florijan, mislav.bradac

Reviewed By: florijan

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D195
2017-03-29 09:09:54 +02:00
..
benchmark Fix warnings all over the codebase. 2017-03-22 09:32:06 +01:00
concurrent Bolt PullAll works. 2017-03-28 12:43:04 +02:00
data Query stripping now uses a parse tree and differentiates between int literals in a range expression (not stripped) and outside of a range (stripped). 2017-03-08 14:19:55 +01:00
integration Bolt PullAll works. 2017-03-28 12:43:04 +02:00
manual Query::Plan::Set - set ops API defined. ConsoleTest random graph generation modified 2017-03-28 09:39:06 +02:00
unit Make Where and NamedExpression macros easier to use 2017-03-29 09:09:54 +02:00
client-stress.sh Started network refactorization. 2017-03-06 13:52:34 +01:00
CMakeLists.txt gbenchmark reports are generated inside build/test_results/benchmark 2016-12-23 09:58:26 +01:00