# \#query

**URL:** https://forum.builder.io/tag/query/49.md

[Latest](https://forum.builder.io/latest.md) · [Categories](https://forum.builder.io/categories.md) · [Tags](https://forum.builder.io/tags.md)

---

## [Query section model content-entries based on locale using MongoDB Operators](https://forum.builder.io/t/query-section-model-content-entries-based-on-locale-using-mongodb-operators/6019)

<div class="topic-metadata">

**Author:** [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Replies:** 0\
**Last updated:** [July 19, 2024, 3:51pm UTC](https://forum.builder.io/t/query-section-model-content-entries-based-on-locale-using-mongodb-operators/6019 "2024-07-19T15:51:49Z")

</div>

To query the builder section model content based on locale using MongoDB operatores, you will need to use specific MongoDB operators within your query. The key parameters to focus on are query.query.$elemMatch.$and\[0\].pr…

---

## [Understanding $lt, $gt, and Other Operators in GraphQL Explorer](https://forum.builder.io/t/understanding-lt-gt-and-other-operators-in-graphql-explorer/5896)

<div class="topic-metadata">

**Author:** [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Replies:** 0\
**Last updated:** [July 1, 2024, 3:06pm UTC](https://forum.builder.io/t/understanding-lt-gt-and-other-operators-in-graphql-explorer/5896 "2024-07-01T15:06:58Z")

</div>

I wanted to share a quick example of how to use comparison operators like $lt (less than), $gt (greater than), and others in GraphQL Explorer. These operators are handy when you need to filter data based on certain condi…

---

## [Why is the query returning an empty array?](https://forum.builder.io/t/why-is-the-query-returning-an-empty-array/3315)

<div class="topic-metadata">

**Author:** [@ali-builder](https://forum.builder.io/u/ali-builder)\
**Replies:** 2\
**Last updated:** [February 28, 2023, 4:49pm UTC](https://forum.builder.io/t/why-is-the-query-returning-an-empty-array/3315 "2023-02-28T16:49:21Z")

</div>

What am I missing? const data = await builder .getAll(model, { query: { data: { $and: \[ { topic: { id: { $eq: "something..." } } }, { lang: { $eq: "ar" } }…

---

## [Query Symbols in all content - Revalidate dependant pages when symbol updates](https://forum.builder.io/t/query-symbols-in-all-content-revalidate-dependant-pages-when-symbol-updates/3227)

<div class="topic-metadata">

**Author:** [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Replies:** 0\
**Last updated:** [February 9, 2023, 3:39pm UTC](https://forum.builder.io/t/query-symbols-in-all-content-revalidate-dependant-pages-when-symbol-updates/3227 "2023-02-09T15:39:52Z")

</div>

If you would like to query symbols in all builder contents of any page model then you can use the below script, this could be useful when publishing an update on Symbol and If want to revalidate all the pages that use t…
