š£ Exciting Update: Introducing the version of the "Equals" Filter in Flotiq Headless CMS! š
likayeltsova
Posted on June 23, 2023
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! š
Posted on June 23, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
June 23, 2023