elegant-salesmen-99143
04/11/2023, 12:12 PMlively-cat-88289
04/11/2023, 12:12 PMastonishing-answer-96712
04/12/2023, 7:48 PMastonishing-answer-96712
04/12/2023, 7:49 PMelegant-salesmen-99143
04/12/2023, 8:08 PMastonishing-answer-96712
04/14/2023, 5:13 PMastonishing-answer-96712
04/14/2023, 5:14 PMelegant-salesmen-99143
04/17/2023, 11:36 AMastonishing-answer-96712
04/18/2023, 4:51 PMastonishing-answer-96712
04/18/2023, 4:52 PMbulky-soccer-26729
04/18/2023, 5:28 PMelegant-salesmen-99143
04/18/2023, 6:19 PMelegant-salesmen-99143
04/21/2023, 10:52 AMnegated aspect.
Context: I used to have 9 Domains in my stage Datahub, and after upgrade to 10.1 I see 11 Domains, 2 of which seem to be old deleted ones
The usual search for soft-deleted entities in GraphQL would be:
searchAcrossEntities (
input: { types: [DOMAIN]
query: "*", count: 50,
orFilters: [{and: [{field: "removed", condition: EQUAL, values: ["true"], negated: false}]}]
} )
With this query I get 0 results, 0 soft-deleted Domains. But if i change the negated aspect to true, I get 11 Domains: my re-appering deleted Domains are there as well.
Now I also have a full copy of my stage Datahub BEFORE the upgrade, a copy is on 0.9.6.1 release. And if I run the query with negated aspect set to true, I get only 9 domains - the re-appering deleted Domains are not there. The query with negated: false on pre-upgrade copy also gives my 0 domains, the the re-appering deleted are not there.elegant-salesmen-99143
04/21/2023, 10:52 AM{
searchAcrossEntities (
input: { types: [CONTAINER]
query: "*", count: 50,
orFilters: [{and: [{field: "removed", condition: EQUAL, values: ["false"], negated: false}]}]
} )
But if I change negated to true - it gives me a total of 1105 containers.
But on afer-upgrade version of Datahub (on 10.1) both versions of the query, with negated: false and negated: true give me a total of 1105 containers.
Looks like bottomline is that negated aspect for soft-deleted entitied was somehow messed up in 10.1 or 10.0 relesase. I can't tell for sure cause we skipped 10.0 and went straight to 10.1.
@bulky-soccer-26729 could you maybe explain to me wthat exactly does negated mean?aloof-gpu-11378
04/21/2023, 1:48 PMremoved = true as the condition and negated = true it would basically say give me everything where removed = false (or more explicitly, everything where removed is not true)elegant-salesmen-99143
04/21/2023, 2:05 PMremoved is true)" and for "everything where removed is not true)" give me the same amount of entities🤔
and on 9.6.1. it used to be different amount of entities