P.S as matter of fact, if you wish to disallow submitting in the same date based on the client time zone , you should create the _id on the front end (and for the first option without the concat, you should have clientDateString field in the collection, and create the clientDateString on the client side).
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Example: No Database Duplicates | 67 | 18087 | April 25, 2020 | |
| Trying to make a beforeinsert unique validation for username | 1 | 543 | August 13, 2019 | |
| Database Problems | 6 | 521 | March 20, 2018 | |
| Preventing Duplications Code + Runtime | 7 | 195 | April 9, 2021 | |
| Search for duplicate entires? | 15 | 2285 | November 20, 2020 |