"how to store opening weekdays in a database" Code Answer


the first approach saves space, the second improves performance while retrieving data, especially if you need to filter by individual weekday. it also makes the queries that manipulate weekdays a way clearer. you have to decide what is more important to you based on the application's logic.

in general, i'd use field-per-day solution.

By Liam Mencel on September 15 2022

Answers related to “how to store opening weekdays in a database”

Only authorized users can answer the Search term. Please sign in first, or register a free account.