Yes, you can use the PQexecParams
function as explained in the documentation.
If parameters are used, they are referred to in the command string as
$1
,$2
, etc.nParams
is the number of parameters supplied; it is the length of the arraysparamTypes[]
,paramValues[]
,paramLengths[]
, andparamFormats[]
.