Dose ID Conflict happens? (UUID or auto-increment)
| From: | Ashkar Dev | Date: | Mon, 10 Aug 2020 16:24:54 +0000 |
| Subject: | Dose ID Conflict happens? (UUID or auto-increment) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-327260@lists.php.net to get a copy of this message | ||
Hi,
for web application is it needed to use UUID or auto-increment?
1- if two user inserts row at the same time, does it work?
2- dose the database give the same id for both users or execute one of them
first? ( I mean ID conflict not happens?)
(using PostgreSQL database with PHP)
Thanks.