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! πŸŽ‰

API Trace View

Struggling with slow API calls? πŸ•’

Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more β†’

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

πŸ‘‹ Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Communityβ€”every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple β€œthank you” goes a long wayβ€”express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay