Stéphan Taljaard
02/14/2022, 5:22 AMquery {
flow(where: { name: { _ilike: "Energy Insight" } }) {
flow_runs(where: {name: {_eq: "stalwart-ostrich"}}) {
name
id
}
}
->
{
"data": {
"flow": [
{
"flow_runs": []
},
{
"flow_runs": []
},
{
"flow_runs": []
},
{
"flow_runs": []
},
{
"flow_runs": []
},
{
"flow_runs": [
{
"name": "stalwart-ostrich",
"id": "8bca3ab2-05cc-4223-93f0-071813528545"
}
]
}
]
}
}
Stéphan Taljaard
02/14/2022, 5:26 AMquery {
flow_run(where: {name: {_eq: "stalwart-ostrich"}}){
name
id
}
}
But it still feels strange to me that the former returns those empty ones even if they didn't have a matching ID?Kevin Kho
archived=False
to only get the latest one. And then those previous versions don’t have any flow runs with matching names