Hello,
I am very new to coding and corvid and I need help with a website i am making for a newspaper. I am trying to make a Database for all of my articles, and i want a database for each of the categories of articles individually. How can I sort all of the articles in the database based on what category i want it to go to, so it copies the article data to the category specific database? possibly using booleans in a field in the database.
Thank You In Advance!!!
You don’t need to copy an article to a database specific collection. You can keep all of your articles in one database collection by adding a category field to your collection. Then you can filter your articles based on category by using the category field in a database query filter.
Thank you so much for responding Yisrael, I think I understand the gist, but im new to wix so could you please show me how to do it a little more in depth. Thank You so much!
@akohanteb2022 See the Search a Database example. The database collection has a continent field which lets you filter by the “category” of continent.
See the wix-data documentation and the wix-data API documentation for more information.