What's the primary key / unique key? #717
Unanswered
csirmazbendeguz
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I am considering introducing a unique ID for each public holiday. But I haven't gotten around to implementing it yet. |
Beta Was this translation helpful? Give feedback.
1 reply
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.Beta Was this translation helpful? Give feedback.
All reactions