Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Added dialect.table property
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Apr 27, 2024
1 parent a2f8551 commit 6863bee
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions content/docs/specifications/table-dialect.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,31 @@ With this dialect definition:

`SHOULD` output the data from the second sheet.

### Database

Database formats is a group of formats accessing data from databases like SQLite.

#### `table`

A Table Dialect descriptor `MAY` have the `table` property that `MUST` be a string; undefined by default. This property specifies a name of the table in the database.

For example, the database with the tables below:

```txt
table1
table2
```

With this dialect definition:

```json
{
"table": "table2"
}
```

`SHOULD` output the data from the second table.

## Example

An example of a well-defined Table Dialect descriptor for a CSV format:
Expand Down

0 comments on commit 6863bee

Please sign in to comment.