LionWeb-io / lionweb-repository

Reference implementation of LionWeb repository
Apache License 2.0
2 stars 1 forks source link

Add API to find all nodes referencing a given one #94

Open ftomassetti opened 4 days ago

ftomassetti commented 4 days ago

To implement a functionality like "Find usages" we may want to find all the nodes that point to a given node. At this time the only way to do that is to retrieve all the nodes and check all of them. We could instead provide an API that answers this question very efficiently with an ad-hoc SQL query

joswarmer commented 4 days ago

I think we should add an extra "query" API which then contains this function and pother useful functions.