tortoise / tortoise-orm

Familiar asyncio ORM for python, built with relations in mind
https://tortoise.github.io
Apache License 2.0
4.38k stars 356 forks source link

Add support cockroachdb? #265

Open jet10000 opened 4 years ago

jet10000 commented 4 years ago

https://www.cockroachlabs.com/docs/stable/

grigi commented 4 years ago

Based on a quick look it seems to use the PostgreSQL network protocol, but the syntax seems to be closer to MySQL.

Didn't know of it until now, seems interesting. It's even open source (and C), so should be relatively easy to test as part of CI.

Although right now adding support for more DB types is not a high priority. (I'm pushing for v1.0 which is mostly just: serialisation, timezone-aware datetime, fully-parametrized queries, fuzz testing and bugfixes)

After that I'll have a look at extending DB support (this and Firebird is the plan so far), but if you want to get started with it so long, that would be extremely welcome!

jet10000 commented 4 years ago

https://github.com/cockroachdb/django-cockroachdb

awoods187 commented 4 years ago

Hi all--pm at Cockroach Labs here. We'd love for tortoise orm to add supprot for CockroachDB. Let us know if you run into any problems!

grigi commented 4 years ago

Hi. Right now it is just an issue of getting time available. It would be awesome if we could easily test cockroachdb on Travis CI though (Doesn't seem to directly support it right now)