I have tried passing a clojure vector, also tried the following format:
-- name: insert-into-sometable<!
-- inserts in the sometable the lid and uids
INSERT INTO sometable
(lid, uids) values(:lid, ARRAY[:uids])
But both the methods throws data mismatch error.
I think if I can call the postgres array functions from the query file then update and insert can be done easily. Please help.
Thanks in advance