Taking array as an input
RomitGandhi07 opened this issue · comments
RomitGandhi07 commented
SELECT * FROM unnest(array[:list]::integer[])
I'm trying this to take an array as an input and calling (demo {:list [1 2 3]})
for executing it but got the error that,
Execution error (PSQLException) at org.postgresql.core.v3.QueryExecutorImpl/receiveErrorResponse (QueryExecutorImpl.java:2497).
ERROR: cannot cast jsonb array to type integer
Means, I want to take integer array as an input and then process it, can anyone help me for doing the same?