DEV Community

likayeltsova for flotiq

Posted on

1

πŸ“£ Exciting Update: Introducing the version of the "Equals" Filter in Flotiq Headless CMS! πŸš€

We're thrilled to announce a powerful new feature in Flotiq headless CMS that will revolutionize your content filtering experience. Introducing the possibility where you can pass multiple items in the "Equals" filter, designed to provide even greater flexibility and control when querying your data.

πŸ”Ž What is the "Equals" Filter?
The "Equals" filter allows you to pass multiple elements as a filter, ensuring that the results match any of the specified values. This means you can now easily retrieve content that corresponds to a specific set of criteria in a single API request.

🌟 How Does it Work?
Let's dive into an example to illustrate the capabilities of the "Equals" filter:

Suppose you have a "name" field in your content type, and you want to fetch all the products with names "product-1" or "product-2." With the "Equals" filter, you can simply use the following API query.

Before:

{"name":{"type":"equals", "filter":"product-1"}}

Now:

{"name":{"type":"equals", "filter":["product-1", "product-2"]}}

By leveraging this new filter, you can effortlessly retrieve the desired results without making multiple requests or complex workarounds.

πŸ“š Want to Learn More?
To explore the full potential of the "Equals" filter and its usage scenarios, we encourage you to check out our comprehensive documentation. You'll find detailed information, code examples, and practical insights on incorporating this feature into your Flotiq headless CMS workflow.

πŸ‘‰ Learn More about the "Equals" Filter

✨ If you have any questions, need assistance, or want to share your feedback, our dedicated team is here to help you every step of the way.

Thank you for choosing Flotiq headless CMS as your trusted content management solution. We're excited to see how the "Equals" filter simplifies and empowers your content querying!

Happy Filtering! πŸŽ‰

Image of Quadratic

Python + AI + Spreadsheet

Chat with your data and get insights in seconds with the all-in-one spreadsheet that connects to your data, supports code natively, and has built-in AI.

Try Quadratic free

Top comments (0)

Image of Quadratic

Python + AI + Spreadsheet

Chat with your data and get insights in seconds with the all-in-one spreadsheet that connects to your data, supports code natively, and has built-in AI.

Try Quadratic free

πŸ‘‹ Kindness is contagious

Engage with a wealth of insights in this thoughtful article, cherished by the supportive DEV Community. Coders of every background are encouraged to bring their perspectives and bolster our collective wisdom.

A sincere β€œthank you” often brightens someone’s dayβ€”share yours in the comments below!

On DEV, the act of sharing knowledge eases our journey and forges stronger community ties. Found value in this? A quick thank-you to the author can make a world of difference.

Okay