Open
Description
Your Question
How can I use JSONSlice for JSON[] fields with gorm, I have used the library but getting an error while inserting the data. The Table model struct is attached below.
The document you expected this should be explained
https://go.dev/play/p/aEEKW7fUa72
I am getting issue when the arrays are empty in the database layer.
UTC [268] ERROR: malformed array literal: "null"
postgres-1 | 2024-08-06 15:18:34.167 UTC [268] DETAIL: Array value must start with "{" or dimension information.
Expected answer
Metadata
Metadata
Assignees
Labels
No labels