+4
−10
+2
−9
+16
−22
+2
−10
Loading
WHERE x in ($1,$2,$3, ...) is replaced with WHERE x = ANY($1::type_of_x[]), with all values passed as a single array argument. INSERT INTO t (a,b,c) VALUES ($1,$2,$3), ($4,$5,$6), ... is replaced with INSERT INTO .. SELECT unnest()