jsonb_to_recordset to feed in my inputs with a single prepared param (JSON.stringify(arrayOfRecordsMatchingTableRow)) - whatever the tagged template literal interface to the client is doing to the param here is causing pg to not see it as a JSON array (seems likely formatted as a single string value).