Skip to main content

Upsert to mBrana

This job was provided by an OpenFn.org user via the job library API.

Metadata

Key Functions

upsert

Expression

// Your job goes here.
upsert(
'users', // the DB table
'ON CONSTRAINT users_pkey', // a DB column with a unique constraint OR a CONSTRAINT NAME
{ name: 'Elodie', id: 7 },
{ writeSql:true, execute: true }
);