@dbpath/fixtures
Advanced tools
Comparing version 0.2.18 to 0.2.19
@@ -6,3 +6,4 @@ "use strict"; | ||
"fields": [], | ||
"table": "drivertable" | ||
"table": "drivertable", | ||
"pk": ["driverId"], | ||
}; | ||
@@ -18,22 +19,27 @@ exports.driverMissionAuditPath = { | ||
"idEquals": [], | ||
"pk": ["driverId"], | ||
"table": "drivertable" | ||
}, | ||
"table": "mission" | ||
"table": "mission", | ||
"pk": ["id"] | ||
}, | ||
"table": "driver_aud" | ||
"table": "driver_aud", | ||
"pk": ["id"] | ||
}; | ||
exports.driverMissionAuditWithFieldsAndLinksPath = { | ||
"fields": ["f3", "f4"], | ||
"idEquals": [{ "fromId": "id2", "toId": "id3" } | ||
], | ||
"previousLink": { | ||
"fields": [], | ||
"idEquals": [{ "fromId": "id1", "toId": "id2" }], | ||
"previousLink": { | ||
"fields": [], | ||
"table": "drivertable" | ||
"table": "drivertable", | ||
pk: ["driverId"] | ||
}, | ||
"table": "mission" | ||
"table": "mission", | ||
"pk": ["id"], | ||
"fields": [], | ||
"idEquals": [{ "fromId": "id1", "toId": "id2" }], | ||
}, | ||
"table": "audit" | ||
"table": "audit", | ||
"pk": ["id"], | ||
"fields": ["f3", "f4"], | ||
"idEquals": [{ "fromId": "id2", "toId": "id3" }], | ||
}; |
@@ -6,2 +6,3 @@ export declare const selectDataForDriver: { | ||
where: string[]; | ||
pk: string[]; | ||
}; | ||
@@ -12,3 +13,4 @@ export declare const selectDataForDriverMissionAuditAndWhere: { | ||
table: string; | ||
pk: string[]; | ||
where: string[]; | ||
}[]; |
@@ -7,9 +7,10 @@ "use strict"; | ||
"columns": ["*"], | ||
"table": "drivertable", | ||
"where": ["T0.driverid=1"] | ||
"table": "someSchema.drivertable", | ||
"where": ["T0.driverid=1"], | ||
pk: ['driverId'] | ||
}; | ||
exports.selectDataForDriverMissionAuditAndWhere = [ | ||
{ "alias": "T0", "columns": ['*'], "table": "drivertable", "where": ["T0.driverid=1"] }, | ||
{ "alias": "T1", "columns": ['*'], "table": "mission", "where": ["T0.id1 = T1.id2"] }, | ||
{ "alias": "T2", "columns": ["f3", "f4"], "table": "audit", "where": ["T1.id2 = T2.id3"] } | ||
{ "alias": "T0", "columns": ['*'], "table": "someSchema.drivertable", pk: ['driverId'], "where": ["T0.driverid=1"] }, | ||
{ "alias": "T1", "columns": ['*'], "table": "someSchema.mission", pk: ['id'], "where": ["T0.id1 = T1.id2"] }, | ||
{ "alias": "T2", "columns": ["f3", "f4"], "table": "someSchema.audit", pk: ['id'], "where": ["T1.id2 = T2.id3"] } | ||
]; |
{ | ||
"name": "@dbpath/fixtures", | ||
"description": "", | ||
"version": "0.2.18", | ||
"version": "0.2.19", | ||
"main": "dist/index", | ||
@@ -20,4 +20,4 @@ "types": "dist/index", | ||
"dependencies": { | ||
"@dbpath/utils": "0.2.18", | ||
"@dbpath/types": "0.2.18" | ||
"@dbpath/utils": "0.2.19", | ||
"@dbpath/types": "0.2.19" | ||
}, | ||
@@ -24,0 +24,0 @@ "devDependencies": { |
11325
330
+ Added@dbpath/types@0.2.19(transitive)
+ Added@dbpath/utils@0.2.19(transitive)
- Removed@dbpath/types@0.2.18(transitive)
- Removed@dbpath/utils@0.2.18(transitive)
Updated@dbpath/types@0.2.19
Updated@dbpath/utils@0.2.19