Document |
|
Document in Strict Mode |
|
Mapping |
|
Output |
extractors
id (marked as PK) | name | isActive | isDeleted |
5716054bee6e764c94fa7ddd | MongoDB extractor | 1 | 0 |
extractors-revisions
id | desc | extractors_pk |
1c6262e | First version | 5716054bee6e764c94fa7ddd |
68fc980 | Second version | 5716054bee6e764c94fa7ddd |
As you can see, joining these two tables will be very easy.
|
Document |
|
Document in Strict Mode |
|
Mapping |
The numbers after the "revision" array define the position of the object in the array. 0 is the first position.
|
Output |
extractors
id (marked as PK) | name | isActive | isDeleted | revision0 | revision1 |
5716054bee6e764c94fa7ddd | MongoDB extractor | 1 | 0 | First version | Second version |
As you can see, the values from the "revisions" array are stored in the columns of the "extractors" table.
|
Document |
|
Document in Strict Mode |
|
Mapping |
|
Output |
extractors
id (marked as PK) | name |
5716054bee6e764c94fa7ddd | MongoDB extractor |
extractors-tags
tag | extractors_pk |
keboola | 5716054bee6e764c94fa7ddd |
extractor | 5716054bee6e764c94fa7ddd |
mongodb | 5716054bee6e764c94fa7ddd |
|
Documents |
|
Documents in Strict Mode |
|
Mapping |
|
Output |
extractors
id (marked as PK) | name | isActive |
764c94fa7ddd5716054bee6e | MySQL extractor | (empty string) |
5716054bee6e764c94fa7ddd | MongoDB extractor | 1 |
|