![]() ![]() The value you see is actually a base64 encoded string of the GUID value.Īnd everything was cool for years, up until I had to manually debug a situation where I had to connect directly to MongoDB to search for a document based on a GUID I knew. Far from the previous useless sentence though, mind the blue square because this is how MongoDB stores a GUID. The capture above is showing a part of MongoDB compass connected to a beta database with partially real but old data, located locally. Nevertheless, the schema above gave room for some beautiful data like the following image, with some databases and collections ending up having millions of data located in an availability zone probably near you! The schema of the document is not very important other than the fact that the ID should be of type GUID:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |