``` query { user { people(filter: { ...
# prisma-whats-new
c
Copy code
query {
   user {
     people(filter: {
       OR: [{
          notes_some: {
            content_contains: "Sports"
          }
       }, {
          name_contains: "Sports"
       }, {
          occupation_contains: "Sports"
       }] 
     }) { 
       id
       name
       occupation
       notes {
         id
         content
       }
     }
   }
}
If I run a query with multiple search terms, is there a way for the server to tell me which field(s) matched?
n
@ckelley what about this query:
Copy code
query people {
   user {
    contentPeople: people(filter: {
      notes_some: {
       content_contains: "Sports"
      }
    }) {
      ... PeopleInfo
    }

    namePeople: people(filter: {
      name_contains: "Sports"
    }) {
      ... PeopleInfo
    }

    occupationPeople: people(filter: {
      occupation_contains: "Sports"
    }) {
      ... PeopleInfo
    }
  }
}

fragment PeopleInfo on People {
  id
  name
  occupation
  notes {
    id
    content
  }
}