-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support gql list/set/map #3302
support gql list/set/map #3302
Conversation
| 0 | 0 | 0 | | ||
When executing query: | ||
""" | ||
RETURN 1 IN LIST[] AS a, "Tony" IN SET{} AS b, "a" IN MAP{} AS c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you add some nested cases, such as MAP{a: LIST[1,2], b: SET{1,2,1}, c: "hee"}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's ok
e36ad29
to
fb3b67c
Compare
Codecov Report
@@ Coverage Diff @@
## master #3302 +/- ##
==========================================
+ Coverage 85.25% 85.27% +0.01%
==========================================
Files 1279 1276 -3
Lines 118989 119005 +16
==========================================
+ Hits 101445 101477 +32
+ Misses 17544 17528 -16
Continue to review full report at Codecov.
|
@@ -1191,12 +1192,27 @@ list_expression | |||
: L_BRACKET expression_list R_BRACKET { | |||
$$ = ListExpression::make(qctx->objPool(), $2); | |||
} | |||
| KW_LIST L_BRACKET opt_expression_list R_BRACKET { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the syntax proposed in the GQL draft?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Close #2894