go-rel / go-rel/rel

postgres error when inserting slice value

Open
#145 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
786
Forks
61
Avg merge
4d 11h
Merged PRs (30d)
2

Description

I have a struct with data
`type Example struct {
RelatedIDs []int
}`

when inserting on database. I have error with message `sql: converting argument $8 type: unsupported type []int, a slice of int`. But postgres is already support data type with array. I think it miss implementation on build the query if the data is slice on rel

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.