You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works properly if we need to insert/update bytea
but on arrays is fails with error
column "columname" is of type bytea[] but expression is of type bytea
The text was updated successfully, but these errors were encountered:
my error is : column "body" is of type bytea[] but expression is of type bytea
log of my variable is : [ Buffer(39) [ 200, 184, 239, 112, 67, 3, 21, 40, 135, 197, 105, 221, 114, 115, 46, 218, 200, 40, 214, 82, 66, 98, 117, 233, 200, 71, 2, 221, 254, 114, 205, 58, 248, 28, 10, 124, 161, 172, 18 ] ]
and when i try to insert it like below error shown:
sqlinsert into .. values (${variable}) ...
It works properly if we need to insert/update bytea
but on arrays is fails with error
column "columname" is of type bytea[] but expression is of type bytea
The text was updated successfully, but these errors were encountered: