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
| Parameter | Cardinality | Description |
|---|---|---|
--config <value> | Optional | Database tables & connection info |
--all <value> | Optional | Should we extract all schemas and tables to external folder ? |
--tables <value> | Optional | Database tables info |
--connectionRef <value> | Optional | Database connection to use |
--outputDir <value> | Optional | Where to output YML files |
--external <value> | Optional | Should we output YML files in the external folder |
--parallelism <value> | Optional | parallelism level of the extraction process. By default equals to the available cores |
--snakecase <value> | Optional | Apply snake case when name sanitization is done |