by bit_flipper · 3y ago · 0 comments
MongoDB Atlas is a surprisingly good managed database product. I'm not a huge fan of someone else running my databases, but I think it might be the best one you can run across any cloud. If you like MongoDB (and, ignore the memes, there is a lot to like nowadays), and are OK paying a bit more to have someone run your database, I'd strongly consider Atlas.
[0] https://www.mongodb.com/community/forums/t/for-mongodb-enter...
[1] https://www.mongodb.com/community/forums/t/for-mongodb-enter...
[2] https://www.linkedin.com/pulse/mongodb-sizing-guide-sepp-ren...
The query syntax is also a massive pain IMHO. Especially when you get into nesting expressions. E.g. I can never remember if it's `{$id: $regex{'/pattern/'}}` or `{$id: ${regex: '/pattern/'}}` or `{$id: $regex{ pattern: '/pattern/' }}` or something totally different.
SQL is still superior.
Can't you just query for a lowercase version of the input and sanitize data going into the DB so it's only lowercase? I'm not a mongo user but that doesn't seem like a dealbreaker to me