Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

does anyone know if the cosmossdb emulator supports graph api for local dev - or just documentDb api

Does the emulator running locally only support documentDB formats?

(explorer only seems to show collections).

Not ready to jump straight into azure and wanted to have a go locally first with graph api and Java.

like image 205
WILLIAM WOODMAN Avatar asked Oct 29 '22 02:10

WILLIAM WOODMAN


1 Answers

The Cosmos DB emulator exposes the same API surface as the production service, and supports all protocols (DocumentDB, MongoDB API, Tables, Graph).

You'll be able to use all graph operations against the emulator. However, the built-in data explorer only lets you create DocumentDB/MongoDB collections (that's just a limitation of the data explorer, not of the core functionality).

like image 75
David Makogon Avatar answered Nov 15 '22 07:11

David Makogon