'GraphQL query in Neo4j DataBase missing data
I try use GraphQL for query on Neo4j DataBase but I don't receive all informations
I have 2 documents for the DueDiligence I query. but I have only 1 document on the query return
query DueDiligences {
dueDiligences (where: { ddId: "2"}){
ddId
provideDocument {
docName
docId
}
}
}
// return
{
"data": {
"dueDiligences": [
{
"ddId": "2",
"provideDocument": {
"docName": "KBIS",
"docId": "2"
}
}
]
}
}
How could I do to have all documents on the return??
The index
type Document {
docId: ID!
docDate: LocalDateTime
docName: String!
docStatus: String!
docType: String
docEncoding: String
duediligencesProvide: DueDiligences @relationship(type: "PROVIDE", direction: IN)
}
type DueDiligences {
ddId: ID!
counterPartyRisk: String
countryRisk: String
ddClose: String
ddOpen: String!
ddStatus: String!
ddType: String
operationalRisk: String
sumRisk: String
investmentvehiculesOdited: InvestmentVehicules @relationship(type: "ODITED", direction: IN)
provideDocument: Document @relationship(type: "PROVIDE", direction: OUT)
investFunds: Funds @relationship(type: "INVEST", direction: OUT, properties: "Invest1")
eurazeoManage: Eurazeo @relationship(type: "MANAGE", direction: IN)
}
Thank you for your answer
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
