[02:15:06] <kongthap> hi, i'm reading doc at mongodb.org function and server-side javascript function are the same thing ?
[02:48:03] <pomke> On an update with upsert true, how would one set a 'created' timestamp only of the object is being created and not if it is being updated?
[02:58:42] <mongodb> Is there a way to see that "Get me all documents such that there's an element in array which is between 1 and 4?"
[02:59:26] <mongodb> as an example, document is {array: [1, 4] } and it shouldn't match this query
[03:31:31] <LoneSoldier728_1> is there a way to tell which condition was matched?
[05:06:14] <Froobly> hi. using mongoose, validations on my subdocument are running for every subdocument each time any of them is updated. is there a way to prevent this?
[05:06:46] <Froobly> i mean, is there a way to validate only one subdocument and not care if already saved ones break validation?
[10:15:00] <ajph> hello. we've been having issues with a mongod instance stopping on one of our production servers. there's nothing in the log - it just stops. can anyone advise how i can further debug this issue?
[15:02:29] <Froobly> i mean, is there a way to validate only one subdocument and not care if already saved ones break validation?
[15:02:59] <Froobly> oops ;) i meant, using mongoose, validations on my subdocument are running for every subdocument each time any of them is updated. is there a way to validate only one subdocument and not care if already saved ones break validation?
[15:35:15] <davonrails> I’m trying to install mongo server on a server on which mongo client is already installed, the thing is I got a yum « conflits with » bug … Is there anyone who know how to solve that kind of thing ?
[15:41:34] <Nodex> put a docker image on the server and install it into that?
[15:41:44] <Nodex> or remove the mongo client and install the whole thing
[15:47:58] <davonrails> that’s fine I just uninstalled the older version thanks anyway
[17:10:13] <Froobly> using mongoose, validations on my subdocument are running for every subdocument each time any of them is updated. is there a way to validate only one subdocument and not care if already saved ones break validation?
[18:09:49] <laprice> I'm trying to add a user and keep getting " Error: couldn't add user: "createUser" command requires a "roles" array at src/mongo/shell/db.js:1007 "
[18:10:48] <laprice> The documentation on updgrading to 2.6 mentions that that is a difference, but this is a fresh install from the mongodb.org packages
[18:11:23] <hairyhenderson> Hi folks, I'm having some trouble with using a tailable cursor with the nodejs mongodb driver
[18:11:45] <laprice> Poking around the 2.6 docs doesn't give me any guidance as to where to create the "roles" array or what should be in it.
[18:12:06] <hairyhenderson> I'm using the cursor.stream() method and I don't seem to be getting any data events, even though I know documents are being added to the collection
[18:12:11] <hairyhenderson> any hints on debugging this?
[18:27:12] <proteneer> is there a reason not to put each collection in its own database to avoid the database level lock?
[18:27:34] <proteneer> i imagine sharding is one, as shards are only available at the collection level
[18:29:09] <cheeser> i have a gut feeling any performance gain you might get (and i doubt there's much) would be outweighed by the complexity of managing multiple DBs in one app.
[20:10:30] <codygman> Are sparse indexes bad for nested data? I have some data that looks like {"value": "clicks": {"value": "thevalue"} I can't change and I'm trying to figure out how to access it somewhat efficiently.
[20:14:27] <durre> is there an easy way to set a new field in all document, to the value of another field on the document? I could do it with backend code
[20:27:04] <proteneer> when will MongoDB 2.6 be released?
[20:43:42] <proteneer> i have a gut feeling any performance gain you might get (and i doubt there's much) would be outweighed by the complexity of managing multiple DBs in one app.
[20:56:59] <kongthap> hi, i'm reading doc at mongodb.org function and server-side javascript function, are they the same things ?
[20:58:47] <skot> It is hard to guess what you are reading so it is hard to know if they are the same thing. If I say yes, is that good or bad for you?
[20:59:45] <skot> maybe you can read this: http://docs.mongodb.org/manual/reference/command/eval/#dbcmd.eval
[21:02:55] <kongthap> i meant, how may types of user defined functions in mongodb?
[21:03:06] <tscanausa> it looks like the drain was aborted… is there a way to kick start it