Post

bigint for primary keys, slugs or NanoIDs when exposing IDs publicly 🔥 From my testing bigint performs better than UUIDs especially when joining multiple tables Also not a fan of UUIDs as public IDs or in logs, prefer NanoIDs, mainly cos of length, easy to select & IMO looks nicer #buildinpublic

Anant Parmar@anantparmar.com

ULID, UUID, bigInt, int What's your go to primary key type? #buildinpublic