-
Notifications
You must be signed in to change notification settings - Fork 871
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
add * support for .include() method. #4828
Comments
sorry it is not clear what exactly you are looking for, if you want to include all fields, don't use .include() method |
Then how do you suggest including a fully expanded a reference to another doc aa part of a projection of the parent? Fetchplan? |
perhaps you need to use fetchPlan? have you already tried that and does it not meet your requirement? |
what is the simple and quick way to include all fields for following query? It's quite irritating to specify each field in 'include' method at sometime. select $creator[0].include(*) as creator from property |
need more info on your schema and your actual requirement to help you. also in your query $place is not defined? |
I just updated the query. can you take a look. I just wana include all fields from property, creator and place into one row for each property record. any idea how to make "include" to cater for * that will automatically include all fields of each class instead of i manually specify field i want to include. |
does this work for you? select expand(all) from (select @rid, unionall(@rid, $creator[0],$place[0]) as all from property
let $creator=in('own')[@class='user'], $place=out('locate')[@class='place'] ) unwind all
|
Sorry. your query doesn't work for me. thanks for your effort. what I expect the return result should be as follows:
|
@martingg88, is it related to #3630 ? |
yes. hope they can solve this issue soon. |
include/exclude already take wildcards |
I tried It doesn't include any field from the target vertex |
does .include support for * in order to include all the fields from multiple crossing vertexes?
The text was updated successfully, but these errors were encountered: