Now here’s a little secret: although we choose the “model” (e.g. Gremlin) at the Cosmos DB account level, we can use other models to query the data.
Not all combination are possible, but many are. Specifically, we can query a Gremlin graph using DocumentDB / SQL query language.
The graph is then projected into documents.
We will explore that in this article.
Why is that interesting? Because there are a lot of tools out there we might be familiar with to manipulate DocumentDB (or MongoDB). Having to possibility to look at a Graph with other APIs extends our toolset from Gremlin-based ones.
That is interesting.