fix(db-postgres): select
query on upload fields with hasMany: true
#13663
Annotations
11 errors and 2 warnings
|
Integration Tests:
test/select/int.spec.ts#L425
expect(received).toStrictEqual(expected) // deep equality
- Expected - 4
+ Received + 40
@@ -24,25 +24,61 @@
"group": Object {
"number": 1,
"text": "text",
},
"hasMany": Array [
- "6761cc0e46fb8bdb4bb765f1",
+ Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.051Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb765f1",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.051Z",
+ },
],
"hasManyPoly": Array [
Object {
"relationTo": "posts",
- "value": "6761cc0e46fb8bdb4bb765f1",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.051Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb765f1",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.051Z",
+ },
},
],
"hasManyUpload": Array [
"6761cc0e46fb8bdb4bb765ef",
],
- "hasOne": "6761cc0e46fb8bdb4bb765f1",
+ "hasOne": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.051Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb765f1",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.051Z",
+ },
"hasOnePoly": Object {
"relationTo": "posts",
- "value": "6761cc0e46fb8bdb4bb765f1",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.051Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb765f1",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.051Z",
+ },
},
"id": "6761cc0e46fb8bdb4bb765f3",
"number": 1,
"select": "a",
"selectMany": Array [
at Object.toStrictEqual (select/int.spec.ts:425:21)
|
Integration Tests:
test/select/int.spec.ts#L441
expect(received).toStrictEqual(expected) // deep equality
- Expected - 4
+ Received + 40
@@ -24,25 +24,61 @@
"group": Object {
"number": 1,
"text": "text",
},
"hasMany": Array [
- "6761cc0e46fb8bdb4bb76619",
+ Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.192Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb76619",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.192Z",
+ },
],
"hasManyPoly": Array [
Object {
"relationTo": "posts",
- "value": "6761cc0e46fb8bdb4bb76619",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.192Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb76619",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.192Z",
+ },
},
],
"hasManyUpload": Array [
"6761cc0e46fb8bdb4bb76617",
],
- "hasOne": "6761cc0e46fb8bdb4bb76619",
+ "hasOne": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.192Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb76619",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.192Z",
+ },
"hasOnePoly": Object {
"relationTo": "posts",
- "value": "6761cc0e46fb8bdb4bb76619",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.192Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb76619",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.192Z",
+ },
},
"id": "6761cc0e46fb8bdb4bb7661b",
"select": "a",
"selectMany": Array [
"a",
at Object.toStrictEqual (select/int.spec.ts:441:21)
|
Integration Tests:
test/select/int.spec.ts#L457
expect(received).toStrictEqual(expected) // deep equality
- Expected - 4
+ Received + 40
@@ -24,25 +24,61 @@
"group": Object {
"number": 1,
"text": "text",
},
"hasMany": Array [
- "6761cc0e46fb8bdb4bb76642",
+ Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.330Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb76642",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.330Z",
+ },
],
"hasManyPoly": Array [
Object {
"relationTo": "posts",
- "value": "6761cc0e46fb8bdb4bb76642",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.330Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb76642",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.330Z",
+ },
},
],
"hasManyUpload": Array [
"6761cc0e46fb8bdb4bb76640",
],
- "hasOne": "6761cc0e46fb8bdb4bb76642",
+ "hasOne": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.330Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb76642",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.330Z",
+ },
"hasOnePoly": Object {
"relationTo": "posts",
- "value": "6761cc0e46fb8bdb4bb76642",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.330Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb76642",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.330Z",
+ },
},
"id": "6761cc0e46fb8bdb4bb76644",
"number": 1,
"selectMany": Array [
"a",
at Object.toStrictEqual (select/int.spec.ts:457:21)
|
Integration Tests:
test/select/int.spec.ts#L473
expect(received).toStrictEqual(expected) // deep equality
- Expected - 4
+ Received + 40
@@ -24,25 +24,61 @@
"group": Object {
"number": 1,
"text": "text",
},
"hasMany": Array [
- "6761cc0e46fb8bdb4bb7666c",
+ Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.467Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb7666c",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.467Z",
+ },
],
"hasManyPoly": Array [
Object {
"relationTo": "posts",
- "value": "6761cc0e46fb8bdb4bb7666c",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.467Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb7666c",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.467Z",
+ },
},
],
"hasManyUpload": Array [
"6761cc0e46fb8bdb4bb7666a",
],
- "hasOne": "6761cc0e46fb8bdb4bb7666c",
+ "hasOne": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.467Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb7666c",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.467Z",
+ },
"hasOnePoly": Object {
"relationTo": "posts",
- "value": "6761cc0e46fb8bdb4bb7666c",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.467Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb7666c",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.467Z",
+ },
},
"id": "6761cc0e46fb8bdb4bb7666e",
"number": 1,
"select": "a",
"tab": Object {
at Object.toStrictEqual (select/int.spec.ts:473:21)
|
Integration Tests:
test/select/int.spec.ts#L491
expect(received).toStrictEqual(expected) // deep equality
- Expected - 4
+ Received + 40
@@ -24,25 +24,61 @@
"group": Object {
"number": 1,
"text": "text",
},
"hasMany": Array [
- "6761cc0e46fb8bdb4bb76697",
+ Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.610Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb76697",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.610Z",
+ },
],
"hasManyPoly": Array [
Object {
"relationTo": "posts",
- "value": "6761cc0e46fb8bdb4bb76697",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.610Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb76697",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.610Z",
+ },
},
],
"hasManyUpload": Array [
"6761cc0e46fb8bdb4bb76695",
],
- "hasOne": "6761cc0e46fb8bdb4bb76697",
+ "hasOne": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.610Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb76697",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.610Z",
+ },
"hasOnePoly": Object {
"relationTo": "posts",
- "value": "6761cc0e46fb8bdb4bb76697",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.610Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb76697",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.610Z",
+ },
},
"id": "6761cc0e46fb8bdb4bb76699",
"select": "a",
"selectMany": Array [
"a",
at Object.toStrictEqual (select/int.spec.ts:491:21)
|
Integration Tests:
test/select/int.spec.ts#L530
expect(received).toStrictEqual(expected) // deep equality
- Expected - 4
+ Received + 40
@@ -20,25 +20,61 @@
"text": "text",
},
],
"createdAt": "2024-12-17T19:07:58.894Z",
"hasMany": Array [
- "6761cc0e46fb8bdb4bb766ef",
+ Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.882Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb766ef",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.882Z",
+ },
],
"hasManyPoly": Array [
Object {
"relationTo": "posts",
- "value": "6761cc0e46fb8bdb4bb766ef",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.882Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb766ef",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.882Z",
+ },
},
],
"hasManyUpload": Array [
"6761cc0e46fb8bdb4bb766ed",
],
- "hasOne": "6761cc0e46fb8bdb4bb766ef",
+ "hasOne": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.882Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb766ef",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.882Z",
+ },
"hasOnePoly": Object {
"relationTo": "posts",
- "value": "6761cc0e46fb8bdb4bb766ef",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:58.882Z",
+ "group": Object {},
+ "id": "6761cc0e46fb8bdb4bb766ef",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:58.882Z",
+ },
},
"id": "6761cc0e46fb8bdb4bb766f1",
"number": 1,
"select": "a",
"selectMany": Array [
at Object.toStrictEqual (select/int.spec.ts:530:21)
|
Integration Tests:
test/select/int.spec.ts#L548
expect(received).toStrictEqual(expected) // deep equality
- Expected - 4
+ Received + 40
@@ -23,25 +23,61 @@
"createdAt": "2024-12-17T19:07:59.039Z",
"group": Object {
"number": 1,
},
"hasMany": Array [
- "6761cc0f46fb8bdb4bb7671d",
+ Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.028Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb7671d",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.028Z",
+ },
],
"hasManyPoly": Array [
Object {
"relationTo": "posts",
- "value": "6761cc0f46fb8bdb4bb7671d",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.028Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb7671d",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.028Z",
+ },
},
],
"hasManyUpload": Array [
"6761cc0f46fb8bdb4bb7671b",
],
- "hasOne": "6761cc0f46fb8bdb4bb7671d",
+ "hasOne": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.028Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb7671d",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.028Z",
+ },
"hasOnePoly": Object {
"relationTo": "posts",
- "value": "6761cc0f46fb8bdb4bb7671d",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.028Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb7671d",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.028Z",
+ },
},
"id": "6761cc0f46fb8bdb4bb7671f",
"number": 1,
"select": "a",
"selectMany": Array [
at Object.toStrictEqual (select/int.spec.ts:548:21)
|
Integration Tests:
test/select/int.spec.ts#L564
expect(received).toStrictEqual(expected) // deep equality
- Expected - 4
+ Received + 40
@@ -17,25 +17,61 @@
"group": Object {
"number": 1,
"text": "text",
},
"hasMany": Array [
- "6761cc0f46fb8bdb4bb7674c",
+ Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.184Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb7674c",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.184Z",
+ },
],
"hasManyPoly": Array [
Object {
"relationTo": "posts",
- "value": "6761cc0f46fb8bdb4bb7674c",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.184Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb7674c",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.184Z",
+ },
},
],
"hasManyUpload": Array [
"6761cc0f46fb8bdb4bb7674a",
],
- "hasOne": "6761cc0f46fb8bdb4bb7674c",
+ "hasOne": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.184Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb7674c",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.184Z",
+ },
"hasOnePoly": Object {
"relationTo": "posts",
- "value": "6761cc0f46fb8bdb4bb7674c",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.184Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb7674c",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.184Z",
+ },
},
"id": "6761cc0f46fb8bdb4bb7674e",
"number": 1,
"select": "a",
"selectMany": Array [
at Object.toStrictEqual (select/int.spec.ts:564:21)
|
Integration Tests:
test/select/int.spec.ts#L578
expect(received).toStrictEqual(expected) // deep equality
- Expected - 4
+ Received + 40
@@ -23,25 +23,61 @@
"group": Object {
"number": 1,
"text": "text",
},
"hasMany": Array [
- "6761cc0f46fb8bdb4bb7677c",
+ Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.337Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb7677c",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.337Z",
+ },
],
"hasManyPoly": Array [
Object {
"relationTo": "posts",
- "value": "6761cc0f46fb8bdb4bb7677c",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.337Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb7677c",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.337Z",
+ },
},
],
"hasManyUpload": Array [
"6761cc0f46fb8bdb4bb7677a",
],
- "hasOne": "6761cc0f46fb8bdb4bb7677c",
+ "hasOne": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.337Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb7677c",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.337Z",
+ },
"hasOnePoly": Object {
"relationTo": "posts",
- "value": "6761cc0f46fb8bdb4bb7677c",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.337Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb7677c",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.337Z",
+ },
},
"id": "6761cc0f46fb8bdb4bb7677e",
"number": 1,
"select": "a",
"selectMany": Array [
at Object.toStrictEqual (select/int.spec.ts:578:21)
|
Integration Tests:
test/select/int.spec.ts#L600
expect(received).toStrictEqual(expected) // deep equality
- Expected - 4
+ Received + 40
@@ -10,25 +10,61 @@
"group": Object {
"number": 1,
"text": "text",
},
"hasMany": Array [
- "6761cc0f46fb8bdb4bb767ad",
+ Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.488Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb767ad",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.488Z",
+ },
],
"hasManyPoly": Array [
Object {
"relationTo": "posts",
- "value": "6761cc0f46fb8bdb4bb767ad",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.488Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb767ad",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.488Z",
+ },
},
],
"hasManyUpload": Array [
"6761cc0f46fb8bdb4bb767ab",
],
- "hasOne": "6761cc0f46fb8bdb4bb767ad",
+ "hasOne": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.488Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb767ad",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.488Z",
+ },
"hasOnePoly": Object {
"relationTo": "posts",
- "value": "6761cc0f46fb8bdb4bb767ad",
+ "value": Object {
+ "array": Array [],
+ "blocks": Array [],
+ "createdAt": "2024-12-17T19:07:59.488Z",
+ "group": Object {},
+ "id": "6761cc0f46fb8bdb4bb767ad",
+ "selectMany": Array [],
+ "tab": Object {},
+ "updatedAt": "2024-12-17T19:07:59.488Z",
+ },
},
"id": "6761cc0f46fb8bdb4bb767af",
"number": 1,
"select": "a",
"selectMany": Array [
at Object.toStrictEqual (select/int.spec.ts:600:21)
|
Integration Tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Integration Tests
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Loading