Generated query:
Code: Select all
UPDATE BATCH_TEST_TABLE SET VAL_FIELD = unnest($1::int4[]) WHERE VAL_FIELD = unnest($2::int4[])
Code: Select all
CREATE TABLE BATCH_TEST_TABLE (
VAL_FIELD INTEGER
);
Code: Select all
UPDATE BATCH_TEST_TABLE SET VAL_FIELD = unnest($1::int4[]) WHERE VAL_FIELD = unnest($2::int4[])
Code: Select all
CREATE TABLE BATCH_TEST_TABLE (
VAL_FIELD INTEGER
);
Code: Select all
UPDATE BATCH_TEST_TABLE SET VAL_FIELD = :P0 WHERE VAL_FIELD = :P1
Code: Select all
UPDATE batch_test_table SET val_field = "CAST"(r.c0 as integer) FROM (SELECT :p0 as c0, :p1 as c1 ) r
WHERE val_field = "CAST"(r.c1 as integer)
Code: Select all
WITH r(c0 ,c1 ) AS (SELECT :P0, :P1)
UPDATE public.batch_test_table SET val_field = "CAST"(r.c0 as integer)
FROM r WHERE val_field = "CAST"(r.c1 as integer)
Code: Select all
UPDATE BATCH_TEST_TABLE SET VAL_FIELD = #P0 WHERE VAL_FIELD = #P1