Hey Zach!
Yes, you can use the ne
operator; to filter the response with Prismic fields.
There are many options to sort, filter, and limit the response to your Gatsby queries.
In this example, I'm retrieving all documents in which the display_title field is not equal to "news"
query MyQuery {
allPrismicPage(filter: {data: {display_title: {text: {ne: "news"}}}}) {
edges {
node {
data {
display_title {
text
}
}
}
}
}
}