[02:22:43] <claytonzaugg> What would cause a collection to no longer display when it had once before? Meaning Products.find() no longer returns any products, but I can see in Robomongo clear as day, Products
[02:22:59] <StephenLynx> you connected to the wrong database.
[02:24:29] <claytonzaugg> What's crazy is that I can still see and access Users.find() and Classes.find(), but now all the sudden I can't access Products.find(). What's weird is that this happened both locally and also on my mongolab.com Products.find()
[02:25:27] <StephenLynx> a: the collectiond dropped
[02:25:31] <claytonzaugg> I was in the middle of trying to change the MONGO_URL to mongolab.com and that's the only thing I can figure caused the problem
[02:25:35] <StephenLynx> b: the documents got removed
[02:25:41] <StephenLynx> c: you are on a different database
[02:26:36] <claytonzaugg> a: I can still see the collection both locally with robomongo and also on mongolabs site
[02:26:44] <claytonzaugg> b: please see answer for a.
[02:27:39] <claytonzaugg> c: is it possible that somehow meteor got messed up for just this ONE collection? Because I'm on the same DB as the others, the only one listed in robomongo and I can see it
[02:27:45] <claytonzaugg> d. please see answer to a.
[02:27:53] <StephenLynx> what do you see on your terminal?
[02:28:07] <StephenLynx> if over the terminal it is fine, then your application code is messed up
[02:28:31] <claytonzaugg> I haven't run terminal commands yet, what should I run to test? MongoD to start it up right?
[02:28:41] <StephenLynx> just a find on the collection
[02:28:46] <StephenLynx> to see whats actually in there
[02:30:27] <claytonzaugg> sorry not a MongoDB cli user, what syntax do I use to access the db on port 3001 so I can get to mongo console
[02:30:42] <acidjazz> claytonzaugg: mongo -h has some hints
[08:15:16] <ak5> hi guys, I have a collection with some documents that either have or don't have an embedded document. I want to get all documents of this collection and know if the embedded document exists but not get the document itself
[08:15:37] <ak5> not get the embedded document itself (as it is quite large!)
[09:42:02] <Cuel> Hi, anyone know the issue here? http://pastebin.com/XNHn6NW3
[10:06:30] <receptor> on windows, is it enough to distribute mongod.exe to run the database server or does it depend on other distribution files?
[10:35:34] <idar> I have a query that have around 10 field which may be used or not. f.eks a,b,c is used and next time someone dsen't specify b then the query asks for a,b. Some are regex some are equal fields. The result is always sorted on a. Whats the best way to create an index for this? Will a,b,c,a index work?
[14:04:11] <mazzwopnam> I have a quick question. I have a MongoDB BSON string that I want to map to an object. it contains new BinData, therefore using Jackson does not work. is there a method to do this in another way?
[14:04:34] <mazzwopnam> the programming language that I am using is Java
[14:04:46] <cheeser> provide a (de)serializer for that
[14:05:39] <mazzwopnam> I have tried bson4jackson, but it does not seem to accept the BSON string
[14:05:48] <mazzwopnam> are there any deserializers that you can recommend?
[14:06:34] <cheeser> are you bound to using jackson? because the java drivers json parser should work just fine for that.
[14:07:23] <mazzwopnam> no, not necessarily. I was attracted to jackson, because it was supposed to be able to map the bson to an object
[14:30:15] <ayonix> hi, i'm trying to get a result similar to this: https://gist.github.com/ayonix/8ec801a01ad93d1ecffe with aggregations, but I'm kind of stuck there. Is it possible to get the wanted output or should I do the rest in the application?
[14:32:03] <mazzwopnam> I am trying to use the decode method of the org.bson.BSON class, but it doesn't seem to accept a String. it accepts a byte array. is it possible to convert a BSON string to a byte array?
[15:03:59] <Booster2ooo> I've got a little question about sorting multiple fields. I saw in the documentation it was simply a call to cursor.sort({ field1: [1|-1], field2: [1|-1] ... }) . When I try to sort a collection with "name" & "isActive" fields, by using .sort({ isActive: 1, name: 1}), it seems to sort only by "isActive" but not by name. Am I doing something wrong ? What whould be the solution ?
[15:23:15] <Booster2ooo> My bad, I was looking the exact same query in an other file. In the one I was testing, I commented the sort on the name filed, nvm -_-
[17:31:48] <akoustik> i'm trying to update a document on "login" events. i would like to have datetimes "firstSeen" and "lastSeen". is there a way, with a single update, to only set "firstSeen" if it hasn't been set already? i imagine i can use $min to always set to the earlier date, just wondering if there's a way without using the comparison.
[19:21:26] <mopet> thanks for the help. will try the solution tomorrow
[19:47:52] <npjonath> Hi everyone, I'm stuck into a simple problem of request with mongodb. Is there someone who could give me a hint for this problem ? http://plnkr.co/edit/SYEXbPtBjVyGSOpde8g9?p=catalogue
[20:04:20] <npjonath> I'm trying to get all mongodb modelObject where modelObject.events.obj === 'CONSTANT_VALUE'. events is a list of json object encapsulate in my modelObject. I have try modelObject.find({"events":{"obj":"CONSTANT_VALUE"}})... but it's seems to not working