'Is there a way to achieve postgres table partitioning using gorm v2?

In gorm v2 https://gorm.io/docs/index.html, is there any way to specify that this table is partitioned by some column like https://pg.uptrace.dev/table-partitioning/?



Solution 1:[1]

I think what you are looking for is called sharding in gorm:

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 freeformz