Open kooskoos20 opened 5 months ago
When you try to assign a nil byte array to JSONB field it returns an error. It works fine when byte array is not nil.
var byteArray []byte _, err := c.db.Exec(query, byteArray)
The above code fails with errorCode: ‘22P02’,
When you try to assign a nil byte array to JSONB field it returns an error. It works fine when byte array is not nil.
var byteArray []byte _, err := c.db.Exec(query, byteArray)
The above code fails with errorCode: ‘22P02’,