Andre Pinto
ATApache TinkerPop
•Created by Andre Pinto on 4/23/2024 in #questions
Combine two queries to perform only one
can someone help me figureout how I can combine those two queries?
groups = f"g.V().hasLabel('Groups').as('group_data').elementMap().range({start_index}, {end_index}).toList()"
users = f"g.V().hasLabel('Groups').as('group_data').bothE('memberOf').otherV().as('members').select('members').by(elementMap()).range({start_index}, {end_index}).toList()"
12 replies