2 min read

Database Action

Overview

The Database Action node provides full CRUD (Create, Read, Update, Delete) operations against connected databases. It supports both Vantage internal tables and external database connections, with batch processing, upsert logic, and transaction support.

Category

Datadata/databaseAction

Settings

SettingTypeDefaultDescription
operationStringinsertinsert, update, upsert, delete, bulk_insert, bulk_update, bulk_upsert, truncate
sourceModeStringvantagevantage or external — which database connection to use
tableStringTarget table name
upsertKeyStringColumn(s) to match for upsert operations
batchSizeNumber500Rows per batch for bulk operations
returnInsertedIdsBooleanfalseWhether to return auto-generated IDs after insert

Inputs & Outputs

Use Cases

  1. Bulk import — Insert thousands of rows from a CSV import with batch processing
  2. Sync external data — Upsert records from an API into a Vantage table, matching on external ID
  3. Cleanup workflows — Delete records older than a threshold date