1

We are trying to do distributed DB using PostgreSQL. We came across Citus (https://github.com/citusdata/citus) but we are using GORM as ORM for our backend. Is it possible to combine both??

4

1 回答 1

2

要考虑的最重要的事情之一是您的 ORM 是否支持复合主键,这在 Citus 中很常见。GORM 支持这些:https://gorm.io/docs/composite_primary_key.html,所以我看不出它有任何不起作用的原因。

于 2021-12-24T11:13:56.570 回答