Skip to main content

extract-script

Synopsis

starlake extract-script [options]

Description

Generate extraction shell scripts from a Mustache template for batch database extraction workflows. Use this to produce tool-specific export scripts (e.g., sqlplus for Oracle, pgsql for PostgreSQL) based on your domain schema definitions.

Parameters

ParameterCardinalityDescription
--domain domain1,domain2 ...OptionalThe domain list for which to generate extract scripts
--template <value>RequiredScript template dir
--audit-schema <value>RequiredAudit DB that will contain the audit export table
--delta-column <value>OptionalThe default date column used to determine new rows to export. Overrides config database-extractor.default-column value.