What's the primary key / unique key? #717
Replies: 2 comments 1 reply
|
I am considering introducing a unique ID for each public holiday. But I haven't gotten around to implementing it yet. |
1 reply
0 replies
Answer selected by
csirmazbendeguz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi! 👋
Thanks for your work on this library! It's an awesome project.
I've been doing some testing today and I have a question.
I'm planning to store the public holidays in a database.
What fields do you recommend I use for the primary key or unique key?
I was thinking of placing a unique constraint on all fields, but perhaps that's an overkill as some fields (e.g.
launchYear,localName,global,fixed) don't look like they identify a public holiday.All reactions