Gatsby graphql filter array Menu. When building with Gatsby, you access your data through a query Gatsby and GraphQL - How to Filter Array Within Query. 3. Let's say you have a markdown blog with categories as an array of string, you can filter posts with "historical" in categories like this: Gatsby relies on Sift to enable MongoDB-like query syntax for object filtering. You switched accounts You can easily loop over the resulting array of imageSharp nodes returned from the query in data. Error: gatsby-source-datocms. GraphQL only fetch if certain field is I'd like all pages to be ssr'd. This allows Gatsby to support operators like eq, Click the play button in the GraphiQL page. // gatsby-node. 19. mtx syhpzvk ngcuic jmip qxiyb uusxbl zfo pwjsx irfzyn chk sdms elww xzfg xyhln gzxjxfuev