12466
Offtopic group for casual talking about anything. @rules_for_python still apply (except for the ontopic rule)
I have started new viral Adobe Alternatives in my Linux OS 💚😀🙂
You Guys Started Those ???
I don't remember but maybe you can make another field the index, so you don't have to mess with the internal values.
Читать полностью…
You seem to be asking extremely basic questions that indicate that you are just doing shit that you don't understand the basic concepts.
Читать полностью…
Have you done any databases training or study before doing this?
Читать полностью…
You just clear my confusion, first i thought to store user's telegram's userid in the _id value, now i think to make another key and store the usre_id now i will ok right?
Читать полностью…
Why would you need to override it? Depends on your use case. Normally, you just put shit in another field.
Читать полностью…
I just realized that if I order a pizza with radius z and height a, its volume is exactly pi•zza
Читать полностью…
The better question should be: why is 100, hundred?
Читать полностью…
https://www.mongodb.com/docs/manual/core/indexes/create-index/?language-no-dependencies=shell
Читать полностью…
The primary key normally just helps you to get a certain index. You can mess around all you want. But you need a valid reason to do that.
Читать полностью…
yaa database learning like crud and then 1,2,3 nf already those was for sql, i was trying to learn mongo db here first time
Читать полностью…
Only override the defaults if you need to for *some reason*
Читать полностью…
👋 I have a question about MongoDB's _id field. 🤔 As far as I know, it's automatically generated unless we explicitly provide a value during insertOne, right? ✅
I'm building a bot system and need to store Telegram user data. Should I let PyMongo randomly generate the _id, or should I override it with the Telegram user_id? 🤖 Which approach is considered best practice?
I asked Gemini about this, and it gave me two different answers for two different accounts, which is a bit confusing! 😅 So, what do you think is the best way to handle this? 🙏
The server storing that file requires electricity, colling. All requires water
Читать полностью…
Mongodb's website say to pull this
https://hub.docker.com/r/mongodb/mongodb-community-server
But see when i search in google they say official mongo is:
https://hub.docker.com/_/mongo
so in real production or learning what i shold learn and practise? what do you guys say to use which one?