cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to UPDATE AND CREATE multiple values at the same time

AysenurCecen
Contributor

Hi,

I want to update and create at the same time for some features because I have a lot of data, so execution takes time. Is there a mutation that will solve this problem?

Some examples of mutations that takes time to execute:

createDeployedTechnology( deployedTechnology:{
name:$Name,
comment:$comment
}){
name,
id,
comment
}

 

updateDeployedTechnology(id:$XXX, deployedTechnology:{
name:$Name,
comment:$comment,
serverDeployed_DeploymentSupport:
{
action:REPLACE_ALL,
list:[{id:$aaa}]
}

})
{
id,
name
}

 

mutation
{
updateITServer(id:"vOojGKDLbjw4", iTServer:{
propertyType_PropertyType_PropertyValue_OwnedProperty:
{
action:ADD,
list:[{name:"IP",unit:"10.2.0.0",link1Name:"IP Adres",link1PropertyValue:"IPv4"}]
}
}) {
id

}
}

 

 

 

0 Replies