Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions sml-reference/connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ into your repository.

Each connection file should define a single database connection *and*
its schema. If you need to use additional schemas for the same database,
each must be defined in a separate connection file.
each must be defined in a separate connection file. If a dataset uses a query
instead of tables, the database and schema do not need to be specified in the
connection file.

Sample `connection` file:

Expand Down Expand Up @@ -69,13 +71,13 @@ The name of the database connection itself, excluding the schema.
## database

- **Type:** string
- **Required:** Y
- **Required:** N

The source database used for this connection.
The source database is required when used in the table datasets, but it is not necessary for query datasets.

## schema

- **Type:** string
- **Required:** Y
- **Required:** N

The source schema used for this connection.
The source schema is required when used in the table datasets, but it is not necessary for query datasets.