prisma1 icon indicating copy to clipboard operation
prisma1 copied to clipboard

CosmosDB connector

Open nicojdejong opened this issue 6 years ago • 14 comments

CosmosDB is Microsofts new cloud database

It would be great to have a connector for this database

nicojdejong avatar Jan 17 '18 08:01 nicojdejong

Thanks @nicojdejong

Can you describe your particular use case? Are you already using Cosmos?

sorenbs avatar Jan 17 '18 14:01 sorenbs

Dear Soren,

No I am considering the techstack for a startup. A graph database will centrainly be part of it. Database as a service makes sense – as well as the fact that we are Microsoft focusses and will have some credits to burn on buying CosmosDB.

I have a better feeling with GraphQL syntax and resources than going through one of the excisting connectors to CosmosDB. I discardd the idea of using GraphQL until I saw your connector. ArangoDB though was in view. It seems a great solution.

So no. No implementation to be done at this time. I am sure though that either the community or Microsoft will bridge the gap….

Rgds,

Nico

nicojdejong avatar Jan 17 '18 15:01 nicojdejong

Hi Soren,

I second the request for supporting Cosmos Db. I too am working on a startup and would love to be able to use Cosmos Db as the data store for a GraphQL API. I chose Cosmos Db because I work with really large data sets (one is >250 GB) and they offer auto-indexing and fast response times.

I was beginning to think I needed to write a connector myself but I would much rather work on value-added features and not so much on plumbing if I could.

I've been running with Apollo-* stack and haven't seriously considered Graphcool because of this limitation but I would love to just leverage all the magic you guys have created and not worry about it :)

Best, Ed

tedwardc avatar Jan 31 '18 23:01 tedwardc

+1

benmccallum avatar Mar 09 '18 14:03 benmccallum

+1 from me too. We are using Cosmos DB on a bunch of chat tools because it is easy to use from the Azure Bot Framework. Having a GraphQL connector would be really useful.

mmeckes avatar Mar 22 '18 09:03 mmeckes

+1 We are making a foray into Cosmos DB after starting out with graphcool. Lack of other database support is probably our biggest hurdle for Prisma (i.e. we want MS SQL, Cosmos DB or Postgres).

infin8loop avatar Apr 12 '18 18:04 infin8loop

Thank you all!

We have finished the ground work required to support more database connectors. The implementation of Postgress is set to start next week and more will follow soon after. I can't offer a concrete timeline for Cosmos DB yet though.

sorenbs avatar Apr 12 '18 19:04 sorenbs

@sorenbs great news! Any update on a Cosmos DB roadmap? I'd potentially be interested in contributing.

kevineger avatar Nov 08 '18 18:11 kevineger

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 08 '19 23:01 stale[bot]

Has anyone tested the MongoDb connecter with CosmosDB - it supports the Mongo wire do in principle it should work

AronT-TLV avatar Jan 10 '19 07:01 AronT-TLV

@AronT-TLV I gave it a quick shot trying to connect it to my cosmos db with mongodb api using the prisma init hello-world wizard with the error "no primary found in replicaset or invalid replica set name" -

The connection string looks like this: "mongodb://dbname:[email protected]:10255/?ssl=true&replicaSet=globaldb"

stilren avatar Jan 16 '19 13:01 stilren

Thanks @stilren

AronT-TLV avatar Jan 30 '19 06:01 AronT-TLV

+1

trumhemcut avatar Aug 23 '19 11:08 trumhemcut

Any plans on that for Prisma 2?

LexSwed avatar Jun 14 '20 19:06 LexSwed