PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 12th of October, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[09:10:47] <asdfgh> hello
[09:10:49] <asdfgh> anyone here?
[09:11:01] <asdfgh> is field datatype manatory in mongodb ?
[09:11:24] <asdfgh> i have a doubt regarding this aspect because for example in elasticsearch i must specify a datatype in mapping
[09:11:34] <asdfgh> so maybe elasticsearch is not completely schema-free
[11:08:56] <HenryCH> hi, beginner here, i was just trying to install mongo on wsl, if i follow the instructions and install the official mongodb-org, i still can't start the service with service mongod start but have to use service mongodb start instead, anyone know why?
[11:58:35] <GothAlice> People end up with strange fears and concerns based on assumptions. I'm not even entirely sure what the basal assumption asdfgh had there, but it wasn't good.
[11:59:57] <GothAlice> All fields have type. There isn't actually a way to declare what type a field will be in a document, MongoDB doesn't care. One whit. (There is https://docs.mongodb.com/v3.2/core/document-validation/, but that's almost nothing to do with typing. Can _do_ typing, as $type is a query operator, but yikes. Excessive over-specification in most cases.)
[13:03:29] <asdfgh> hello
[13:41:13] <alnk> GothAlice: Agreed
[13:42:27] <GothAlice> alnk: Thanks for the ping, asdfgh has returned!
[13:42:38] <GothAlice> asdfgh: (Reposted from earlier:) All fields have type. There isn't actually a way to declare what type a field will be in a document, MongoDB doesn't care. One whit. (There is https://docs.mongodb.com/v3.2/core/document-validation/, but that's almost nothing to do with typing. Can _do_ typing, as $type is a query operator, but yikes. Excessive over-specification in most cases.)
[13:44:29] <GothAlice> "is field datatype manatory in mongodb ?" is one of those rare, fundamentally non-sensical questions. How do you have any value of any kind whatsoever without a "type"? Define "datatype"?