![]() This led us to NanoID, which accomplishes exactly that. Easy to generate in multiple programming languages (we use Ruby and Go on our backend).It may seem minor, but to build a product that developers love to use, we need to care about details like these. The browser interprets it as 5 different words. Try double clicking on that ID to select and copy it. ![]() UUIDs are great because it’s nearly impossible to generate a duplicate and they obscure your internal IDs. The common solution to this problem is using a UUID (Universally Unique Identifier) instead. We knew that we wanted to avoid using integer IDs so that we wouldn’t reveal the count of records in all our tables. When we were first building PlanetScale’s API, we needed to figure out what type of identifier we’d be using. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |