# Dynamic Multi Category Combinations in Hugo

**URL:** <https://discourse.gohugo.io/t/dynamic-multi-category-combinations-in-hugo/46808>\
**Category:** feature\
**Tags:** taxonomy\
**Created:** [October 25, 2023, 9:57am UTC](https://discourse.gohugo.io/t/dynamic-multi-category-combinations-in-hugo/46808 "2023-10-25T09:57:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![chrillek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/chrillek/32/19797_2.png) [@chrillek](https://discourse.gohugo.io/u/chrillek)\
**Post date:** [October 25, 2023, 11:47am UTC](https://discourse.gohugo.io/t/dynamic-multi-category-combinations-in-hugo/46808/4 "2023-10-25T11:47:29Z")

</div>

> [@gora](#):
>
> It is not at all related to a database; it solely pertains to taxonomies.

I said

> That sounds as if you want Hugo to provide relational database capabilities

“Combining categories” is similar to “joining two tables”. Which is a key function of relational databases.

> [@gora](#):
>
> This enhancement would facilitate the creation of websites with potentially millions of pages.

People have created [websites with more than a million pages using Hugo.](https://discourse.gohugo.io/t/v-a-explore-the-collections-over-1-million-pages-generated-by-hugo/33227/2).

From what you let transpire in your many posts, you’re dealing with dynamic data (real estate?). Lots of attributes (“categories”), having lots of possible values, frequent changes. It may well be that this doesn’t sound like “relational database” to you, but it does to me. You can, of course, drive in a screw with a hammer, but a screwdriver might simply be the better tool.

In your setup, you’d have to create _all_ possible combinations up-front, never knowing if anyone will need them. In a more dynamic situation, you’d simply offer a search function and retrieve the data from the database if and when it’s needed. No need to generate millions of pages.

---

_[View the full topic](https://discourse.gohugo.io/t/dynamic-multi-category-combinations-in-hugo/46808)._
