Skip to content

Commit f826668

Browse files
committed
updated db merger config docs
1 parent dc51ea9 commit f826668

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

docs/dbmerger/configuration.mdx

+17-10
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ The `config.js` file is located in the same folder as the app executable. This f
3333

3434
All options inside the `databases` config option.
3535

36-
| Command | Default | Description |
37-
| --------- | ----------- | -------------------------------------------------------------------------------- |
38-
| `enabled` | `true` | If the database should be used by the app |
39-
| `sources` | `sources[]` | The sources that should be used by the app, the sources options are listed below |
36+
| Command | Default | Description |
37+
| ----------------------- | ------------------------- | ---------------------------------------------------------------------------------------------------------------- |
38+
| `enabled` | `true` | If the database should be used by the app |
39+
| `sources` | `sources[]` | The sources that should be used by the app, the sources options are listed below |
40+
| `destination` | `-` | The destination that should be used by the app, the destination options are listed below |
41+
| `columnNameConversions` | `columnNameConversions[]` | The column name conversions that should be used by the app, the column name conversions options are listed below |
4042

4143
#### Sources Options
4244

@@ -50,7 +52,7 @@ All options inside the `databases.sources` config option.
5052
| `database` | `-` | The name of the database |
5153
| `tables` | `tables[]` | The tables of the database the options inside this option are listed below. |
5254

53-
#### Tables Options
55+
##### Tables Options
5456

5557
All options inside the `databases.sources.tables` config option.
5658

@@ -60,11 +62,7 @@ All options inside the `databases.sources.tables` config option.
6062
| `searchByColumn` | `-` | The column to search by |
6163
| `mergeColumns` | `-` | The columns to merge, these columns will be added into the merge table |
6264

63-
</TabItem>
64-
65-
<TabItem value="destination" label="Destination">
66-
67-
### Destination Options
65+
#### Destination Options
6866

6967
All options inside the `destination` config option.
7068

@@ -76,5 +74,14 @@ All options inside the `destination` config option.
7674
| `database` | `-` | The name of the database where the merged table should be created/updated |
7775
| `table` | `-` | The name of the table that should be created, this table has all the merged data. |
7876

77+
#### Column Name Conversions Options
78+
79+
All options inside the `columnNameConversions` config option.
80+
81+
| Command | Default | Description |
82+
| ------- | ------- | ----------------------------------------------------------- |
83+
| `from` | `-` | The column name that should be converted |
84+
| `to` | `-` | The column name that the column name should be converted to |
85+
7986
</TabItem>
8087
</Tabs>

0 commit comments

Comments
 (0)