Knowing Where and When to Enforce the Uniqueness of Your Databy@amrhassan

Knowing Where and When to Enforce the Uniqueness of Your Data

tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

Having your constraints on the DB level is a must, the database could be accessed from many places. Most databases do the uniqueness validation more efficiently so it's better to have it there. It's important to simplify your logic and make sure that the data integirty rules are set for all clients.
featured image - Knowing Where and When to Enforce the Uniqueness of Your Data
Amr Hassan HackerNoon profile picture

@amrhassan

Amr Hassan

About @amrhassan
LEARN MORE ABOUT @AMRHASSAN'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa