Skip to main content

extract-schema

Synopsis

starlake extract-schema [options]

Description

Extract table schemas from a JDBC database and generate Starlake YAML configuration files. Use this to reverse-engineer existing database tables into domain definitions with optional snake_case naming. See Extract Tutorial.

Parameters

ParameterCardinalityDescription
--config <value>OptionalDatabase tables & connection info
--all <value>OptionalShould we extract all schemas and tables to external folder ?
--tables <value>OptionalDatabase tables info
--connectionRef <value>OptionalDatabase connection to use
--outputDir <value>OptionalWhere to output YML files
--external <value>OptionalShould we output YML files in the external folder
--parallelism <value>Optionalparallelism level of the extraction process. By default equals to the available cores
--snakecase <value>OptionalApply snake case when name sanitization is done