Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect to CockroachDB #65

Open
gridworkz opened this issue Aug 21, 2020 · 2 comments
Open

Connect to CockroachDB #65

gridworkz opened this issue Aug 21, 2020 · 2 comments
Assignees

Comments

@gridworkz
Copy link

Hi:

I gotta say - this is one of the best open source efforts to come along in a long time. Well done. I need to connect to CockroachDB and I just need to know which files I need to touch.

Cheers,
Dave

@evereq
Copy link
Member

evereq commented Aug 21, 2020

Hi @gridworkz thank you for the very warm words about our platforms!

If you are talking about Gauzy Platform (https://github.com/ever-co/gauzy), it should be pretty easy because it uses TypeORM and from my understanding CockroachDB compatible with PostgreSQL drivers and so you only need to change the connection string to point it into CockroachDB and it should be working out of the box (we did not try, interesting to know).

If you are talking about Ever Platform (https://github.com/ever-co/ever), it's much more work required to make it work well with CockroachDB because we do not actually use only TypeORM (in fact, we almost not use it at the moment), but also our customer mapper (called Pyro) which sits on top of mongoose and by default work with MongoDB. You can read a bit more about Pyro here: https://github.com/ever-co/ever/tree/develop/packages/core#pyro---custom-built-micro-framework

Hope that helps!

@evereq evereq self-assigned this Aug 21, 2020
@gridworkz
Copy link
Author

gridworkz commented Aug 21, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants