[00:04:28] <hulkk> cheeser u can append some field:value in object { } without using arrays ? depends what ur answer is will give me a clear mind about how things work :)
[00:23:23] <cheeser> you should spend time reading the docs on these operators. they clearly explain the answer to these questions you've been asking.
[00:53:21] <zamnuts> node.js driver: how to specify a 2 hour timeout on a cursor? I don't want to use the `noTimeout` wire protocol flag which i'm assuming is simply specifying `timeout: false` in `collection.find`'s options...
[00:54:37] <zamnuts> is it `maxTimeMS`? and what does typical usage look like for `timeout` and/or `maxTimeMS`?
[00:58:29] <zamnuts> alternatively if I must specify `noTimeout` as `true` then while keeping it `false` how can i signal a "keep-alive" to the cursor?
[01:00:45] <zamnuts> well http://docs.mongodb.org/manual/reference/method/cursor.maxTimeMS/#cursor.maxTimeMS answered my question regarding `maxTimeMS`: "maxTimeMS() is not related to the NoCursorTimeout query flag. maxTimeMS() relates to processing time, while NoCursorTimeout relates to idle time."
[01:01:33] <zamnuts> it appears at this point it is either all or nothing. if my application crashes and i have an open cursor with timeout disabled - what happens? does the cursor stay open indefinitly?
[06:03:50] <hagb4rd> i'm trying to use the $text query operator as described here http://docs.mongodb.org/manual/reference/operator/query/text/.. when i try to .ensureIndex({ text: "text" }), a textidex on the field text i get the following error: "[Error] Cannot use a writeConcern without a provided callback"
[06:05:24] <joannac> looking at http://stackoverflow.com/questions/19468975/mongodb-error-cannot-use-a-writeconcern-without-a-provided-callback-on-remove
[06:05:31] <joannac> it looks like y... what specialsauce said
[07:43:04] <hagb4rd> hey..got one more question: would it make sense to keep the field names short in order to save space? or is this handled by mongodn internally somehow?
[14:17:14] <munumnu> i want to query a collection containing docs with >27 fields. The find query is generated dynamically (combination of all fields possible). What would be a good way to ensureIndex() everything? Should I simply call it with every field possible?
[17:20:32] <specialsauce> is it possible to check if a document can be inserted into a collection before actually committing to a write?
[17:21:00] <specialsauce> assuming there are various indexes etc on the collection that could potentially stop a write
[17:23:42] <cheeser> you'd have a race condition if you tried.
[17:28:24] <specialsauce> it would be acceptable though, I am trying to insert documents into a collection that should at any time only contain at most n of a particular type... currently im doing this via recursive bulk inserts of size 'remaining window' of which some or many may fail if they conflict with a unique index for example
[17:29:09] <specialsauce> the worst case being where you have a window of say 1 available space left and try to insert say 1000 all of which are errors due to an index
[17:29:19] <specialsauce> ie you get a 1000 level recurse
[17:29:47] <specialsauce> if I could remove the ones that will fail on the index prior, I can reduce the call stack greatly
[17:30:47] <specialsauce> alternatively is there some way to insert in a synchronous way until the window is filled? or does that defeat the purpose of mongo
[19:00:49] <Keksike> im using mongoose, how can I get the n:th entry from my mongodb?
[19:00:58] <Keksike> I sorted them, now I want to get lets say the fifth entry
[21:09:26] <Nitax> If I use Mongoose and call myModel.save(myCallback) without first opening a MongoDB connection, shouldn't Mongoose throw some kind of error?
[21:09:46] <Nitax> I am just seeing the call timeout after some period of time