我使用 Go 和 Postgres (带有pgx 驱动程序)
在我的 Postgres 表中,我有一个包含整数数组的字段。我创建了一个变量来存储扫描后的整数数组。
var ids pgtype.Int4Array
Run Code Online (Sandbox Code Playgroud)
如何转换ids为[]int64?
| 归档时间: |
|
| 查看次数: |
2567 次 |
| 最近记录: |