Industrial
09/27/2018, 6:25 PMmutation upsertMarket(
$trader: String!,
$base: String!,
$quote: String!,
$category: String!,
$type: String!
) {
upsertMarket(
where: {
id: "123"
},
create: {
trader: $trader
base: $base
quote: $quote
category: $category
type: $type
},
update: {
trader: $trader
base: $base
quote: $quote
category: $category
type: $type
}
)
}
Industrial
09/27/2018, 6:35 PMmutation upsertMarket(
$trader: String!,
$base: String!,
$quote: String!,
$category: String!,
$type: String!
) {
upsertMarket(
where: {
id: ""
},
create: {
trader: $trader
base: $base
quote: $quote
category: $category
type: $type
},
update: {
trader: $trader
base: $base
quote: $quote
category: $category
type: $type
}
)
{
id
}
}
Industrial
09/27/2018, 6:36 PMIndustrial
09/27/2018, 6:38 PMImporter
process that runs every 24 hours, so I do not know the ID's.Industrial
09/27/2018, 6:38 PMmarcus
09/27/2018, 6:40 PMmarcus
09/27/2018, 6:41 PMIndustrial
09/27/2018, 6:43 PMIndustrial
09/27/2018, 6:44 PMharmony
09/27/2018, 6:44 PMharmony
09/27/2018, 6:44 PM$trader
?Industrial
09/27/2018, 6:45 PMtrader: $trader
but that causes an errorIndustrial
09/27/2018, 6:45 PMmarcus
09/27/2018, 6:51 PM