Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insertion with array column type fails #7193

Open
Mikcl opened this issue Sep 10, 2024 · 1 comment
Open

Insertion with array column type fails #7193

Mikcl opened this issue Sep 10, 2024 · 1 comment
Assignees
Labels
type:with reproduction steps with reproduction steps

Comments

@Mikcl
Copy link

Mikcl commented Sep 10, 2024

GORM Playground Link

go-gorm/playground#759

Description

I want to have a table, where the colum can store an array, like text[],

The full datail is in linked go playground PR.

Error messages truncated:

ERROR:  malformed array literal:
DETAIL:  Array value must start with "{" or dimension information.
@github-actions github-actions bot added the type:with reproduction steps with reproduction steps label Sep 10, 2024
@Mikcl
Copy link
Author

Mikcl commented Sep 11, 2024

Note that i think postgres supports text[], but mysql and sqlite do not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:with reproduction steps with reproduction steps
Projects
None yet
Development

No branches or pull requests

2 participants