[01:12:49] <Jonno_FTW> anyone in? my cursors keep being not found after processing for a long time, even though I set them to not timeout
[06:57:31] <humblewolf> hello everyone.... Is couchdb schemaless like mongo ?
[09:59:47] <Derick> it's schemaless, but not like mongo
[13:01:04] <MrF> Hello, I have issues using mongodb shell maybe someone can help. I have database running on localhost default port with database named "testdb" with collection named "somestuff" it has one entry named "name: test1" that has string variable "progress: 1".
[13:01:33] <MrF> now when I run command: mongo localhost:27017 --eval 'testdb.somestuff.update({"name":"test1",{$set:{"progress":"44"}});' i get no error but test1 document is not updated
[13:49:55] <Derick> MrF: "testdb" wouldn't be defined
[13:50:59] <Derick> see the second entry in that table, on how to get "db" variable pointing to the right database
[13:51:19] <Derick> also, read the first bullet point
[13:51:55] <Derick> your script in the --eval line should probably start with --eval 'db=getDB("testdb"); db.somestuff.update
[13:55:43] <MrF> Derick: Idid, it is confusing because on that doc page there is example mongo test --eval "printjson(db.getCollectionNames())" that connect to test database and prints collection and here there is no db=getDB("testdb");
[14:03:06] <MrF> Ok figured it out. i did use wrong method. update and updateOne works only on object and will not work with normal field. I did use findAndUpdate instead and now it works