If I have a hierarchy like continent, country, state, county, city What is the most straightforward/ and or computationally cheap way to get all of the cities in a continent and the continent for a city?
Is there something like *select out().country.out().state.out().county().city from continent where name = 'europe' to get all the cities in europe*. I have been playing around with this but dont seem to be able to get it right (traverse seems like overkill when I know the path) I would also like to be able to to do opposite as cheaply as possible to get the continent from the city like *select $this.in().county.in().state.in().country.in().continent* thanks, charles -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
