Skip to content

Commit 77f190f

Browse files
formatting
1 parent a002f93 commit 77f190f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ WHERE person.id = 55
2626

2727
...And for the result data
2828

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 |
3333

3434
...Rather than getting flat, collided result objects:
35+
3536
```javascript
3637
[
3738
{
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 :(
3940
name: 'Good Corp', // from employer which collided with person.name :(
4041
person_id: 55,
4142
employer_id: 17,

src/driver-integrations/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export interface ICreateForDriverOptions {
77
}
88

99
export interface ICoreIntegratedDriver extends ICore {
10-
1110
db: any;
1211

1312
/* ------------------------------------------------------------------------*/

0 commit comments

Comments
 (0)