PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 15th of February, 2014

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[01:09:50] <hunterp> GREETINGS MONGO PEOPLE
[01:10:09] <hunterp> I have a mongo question here: http://stackoverflow.com/questions/21792016/what-is-correct-mongoid-relation-for-a-parentless-object-that-eventually-belongs
[01:12:19] <hunterp> is no one here?
[01:17:22] <qw3rtman> I'm looking for a word that would encompass MySQL, MongoDB, and Redis at once. Any ideas?
[01:18:39] <cheeser> "datastore"
[01:19:13] <qw3rtman> Sounds good. Thanks for your input.
[02:51:41] <acidjazz> if i have a document w/ an array inside of options.. and i want to see if any of those options match options in my query, is that where $in can be usefl?
[02:51:42] <acidjazz> useful*
[02:52:04] <acidjazz> say {categories: {$in: categoryArray}}
[02:52:14] <acidjazz> or does one need to not be an array
[02:52:19] <acidjazz> can they both be arrays..
[03:12:17] <Soothsayer> "While you can create multikey compound indexes, at most one field in a compound index may hold an array. "
[03:12:58] <Soothsayer> Which means in a Product document if I have two fields, 1 is "categories": array of category ids and the other "additionalAttributes" which is an array of sub documents { id: int, val: <string> }
[03:13:16] <Soothsayer> I can't have a compound index that includes categories and additionalAttributes together?
[03:15:36] <Soothsayer> brb, reboot.
[03:15:58] <acidjazz> can i sort by a value thats nested in a document
[03:16:11] <hunterp> anyone herE???
[03:16:16] <acidjazz> hunterp: no
[03:16:54] <hunterp> why does mongoid embedded_in require a parent object? I don't want a parent object
[03:18:13] <acidjazz> hmm im getting 4 before 18.. maybe its not sorting numerically..
[03:21:40] <Soothsayer> back
[03:21:45] <Soothsayer> anyone? ^
[03:22:00] <hunterp> Soothsayer: does mongo have embedded_in ?
[03:22:59] <Soothsayer> hunterp: isn't that an ORM level feature?
[03:23:13] <hunterp> Soothsayer: probably
[03:23:27] <hunterp> Soothsayer: have you used mongoid?
[03:24:00] <Soothsayer> no I am not a RoR guy
[03:24:14] <hunterp> what are you?
[03:26:16] <Soothsayer> hunterp: In an equivalent world, Symfony2.
[03:26:38] <hunterp> puke. facebook's fault
[03:27:08] <Soothsayer> hunterp: ok. you win.
[03:27:12] <hunterp> of course
[03:27:15] <hunterp> i invest in facebook
[04:52:15] <JFlash> hi
[04:52:30] <JFlash> please, how can I use mongodb with heroku
[04:53:15] <JFlash> without verifying my account with a credit card
[08:36:12] <hephaestus_rg> question: if i'm upgrading from mongoid 2 to 3, do i need to do anything to the actual database (ruby on rails)
[13:55:30] <DevRosemberg> Hello
[13:55:52] <DevRosemberg> i am in need to update a boolean on MongoDB java
[13:56:11] <DevRosemberg> this is my clas
[13:56:11] <DevRosemberg> http://pastie.org/8736209
[13:56:15] <DevRosemberg> but i cant undo it
[20:45:25] <hexdump> hi
[20:45:33] <hexdump> i have quick question
[20:46:16] <hexdump> is there a way to insert document and update it if already exists?
[21:20:47] <cheeser> hexdump: upserts?
[21:42:35] <Lobosque> how do I find all documents from Collection that has 'bar' in the array 'foo'?
[21:42:54] <Lobosque> like the $in operator, but the other way around.
[22:38:16] <dino82> o/ hello all. I'm reading up on the administrative interfaces like rockmongo, are there any that anyone considers the best?