Quick graphql API question. I have multiple projects, which may have flows with names in common. I'd like to be able to query for a flow by name, with the project name as a query parameter.
Billy McMonagle
11/17/2021, 12:10 AM
This query works for me. However, I'd like to modify it so that I can also filter where the project name equals a particular string.
Copy code
query($name: String!) {
flow(where: {name: {_eq: $name}}, order_by: {version: desc}, limit: 1) {
id
project {
name
}
}
}
k
Kevin Kho
11/17/2021, 12:12 AM
It would be:
Copy code
query {
flow (where: {name: {_eq: "test"}, project: {name: {_eq: "bristech"}}}){
name
project {
name
}
}
}
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.