File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,17 @@ WHERE person.id = 55
26
26
27
27
...And for the result data
28
28
29
- | id | name | id | personId | employerId | startDate | endDate | id | name |
30
- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
31
- | 55 | John Doe | 277 | 55 | 17 | 2020-01-01 | 2020-12-31 | 17 | Good Corp |
32
- | 55 | John Doe | 278 | 55 | 26 | 2021-01-01 | 2021-12-31 | 26 | Better Corp |
29
+ | id | name | id | personId | employerId | startDate | endDate | id | name |
30
+ | --- | -------- | --- | -------- | ---------- | ---------- | ---------- | --- | -------- --- |
31
+ | 55 | John Doe | 277 | 55 | 17 | 2020-01-01 | 2020-12-31 | 17 | Good Corp |
32
+ | 55 | John Doe | 278 | 55 | 26 | 2021-01-01 | 2021-12-31 | 26 | Better Corp |
33
33
34
34
...Rather than getting flat, collided result objects:
35
+
35
36
``` javascript
36
37
[
37
38
{
38
- id: 17 , // from employer which collided with job.id and person.id :(
39
+ id: 17 , // from employer which collided with job.id and person.id :(
39
40
name: ' Good Corp' , // from employer which collided with person.name :(
40
41
person_id: 55 ,
41
42
employer_id: 17 ,
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ export interface ICreateForDriverOptions {
7
7
}
8
8
9
9
export interface ICoreIntegratedDriver extends ICore {
10
-
11
10
db : any ;
12
11
13
12
/* ------------------------------------------------------------------------*/
You can’t perform that action at this time.
0 commit comments