我使用 Go 和 Postgres (带有pgx 驱动程序)
在我的 Postgres 表中,我有一个包含整数数组的字段。我创建了一个变量来存储扫描后的整数数组。
var ids pgtype.Int4Array
如何转换ids为[]int64?
ids
[]int64
慕娘9325324
相关分类