Hi Team! :wave: I think I'm missing something.......
# troubleshoot
g
Hi Team! 👋 I think I'm missing something.... 🤔 If I want to use GraphQL search to filter datasets on a platform is this the correct way to filter the query? Thanks!
Copy code
{
  search(input: {start: 0, count: 100, query: "*", type: DATASET, filters:{field:"Dataset.platform.name",value:"glue"}}) {
    searchResults {
      entity {
        urn
        type
      }
      matchedFields {
        name
        value
      }
    }
  }
}
s
This works on https://demo.datahubproject.io/api/graphiql
Copy code
{
  search(
    input: {start: 0, count: 100, query: "*", type: DATASET, filters: {field: "platform", value: "urn:li:dataPlatform:bigquery"}}
  ) {
    searchResults {
      entity {
        urn
        type
      }
      matchedFields {
        name
        value
      }
    }
  }
}
🙌 1
teamwork 1
g
Thanks Aseem!