2
Eklavya
3y

My most productive day of the month
Making a to-do list app with login and register functionality.
Why this fucking DB needs a primary key every time
Brainfart!

Comments
  • 3
    Ever played with a database without primary keys....

    Cannot recommend.

    Veeeerrrryyyyy slow.
  • 1
    Without a primary key it's hard for a DB to find something to index on or to use for its internal data structures. Yes you can use an implicit count based primary key but that has its own issues. Also hard for users of a db to unambiguously refer to an object in the db. You basically always want one.
Add Comment