Skip to content
Unverified Commit 211f6d15 authored by Fernando Takagi's avatar Fernando Takagi Committed by GitHub
Browse files

Move queries with variable number of args to a fixed number of args syntax (#1114)

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()
parent 2ee6c926
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment