Skip to content
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

Aggregation Reflection #258

Merged
merged 10 commits into from
Jul 23, 2021
Merged

Aggregation Reflection #258

merged 10 commits into from
Jul 23, 2021

Conversation

kellrott
Copy link
Member

@kellrott kellrott commented Jun 16, 2021

Add methods to inspect the schema of results using aggregation methods. This PR adds two new aggregation calls

  • G.query().V().hasLabel("Planet").aggregate(gripql.field("gid-agg", "$._data")) which will return all of the fields see at the root level of Planet vertices

  • G.query().V().hasLabel("Planet").aggregate( gripql.type("population") ) returns the type of the data found in the population field.

  • Add documentation

  • Fix gripper typing system, so it will pass unit tests as well

@kellrott kellrott changed the base branch from master to develop-0.7.0 June 16, 2021 06:43
@kellrott kellrott changed the title [WIP] Aggregation Reflection Aggregation Reflection Jul 21, 2021
@kellrott kellrott requested a review from bwalsh July 21, 2021 20:09
@kellrott kellrott merged commit c5ee2d9 into develop-0.7.0 Jul 23, 2021
@kellrott kellrott deleted the agg-reflect branch August 29, 2022 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant