[00:28:55] <frenchiie> i'm looking at this method: http://api.mongodb.org/python/current/tutorial.html#querying-for-more-than-one-document and i have a question about it
[00:29:35] <frenchiie> the find() method returns a cursor. when we use it to iterate over the documents of a collection, are we iterating over the documents as they were added into the mongodb database?
[00:30:33] <frenchiie> so if i add documents such as A,B,C,D will using the cursor to iterate give me A,B,C,D/D,C,B,A in order?
[00:31:12] <frenchiie> because it's being added to the database which is some data structure right? like a b-tree or b+ tree maybe?
[00:33:09] <frenchiie> anyone know how it iterates over the structure? :o
[11:31:00] <saif> I need some help in enabling authorisation in config file. I cant understand what it is told in the doc. I tried authorization:enabled. But it doesnt work.
[11:31:56] <saif> mm. may be I am in the wrong time zone.
[16:03:38] <schu> hi there. i'm trying to connect remotely to a running mongodb server (I've added the user to the admin users collection as well as to the database I need to connect to) but when I do that and switch to the db, there seem to be no collections.
[16:04:22] <schu> this also happens when using umongo or other tools, which leads me to the impression that there is something wrong with the remote access setup (it is mongodb 2.4 by the way)
[17:03:51] <Seedmanc> Can I retrieve data from two collections at once with one API call?
[17:04:07] <comm64x> hello, I'm new to mondodb. I'm using it with rails using mongoid as the odm. Is this the best place to ask general mongodb questions
[17:05:53] <comm64x> I'm wondering how exactly do new documents get created and where exactly are they being stored. I have my models setup in rails, and my controllers are working fine but the only way I've seen to intereact with mongodb is through the shell. I'd rather be able to interact with the db programmatically through forms in the website for example. Does anyone know of any good resources for this?
[17:07:00] <comm64x> mongodb is the first document oriented db I've used. I'm most familiar with RDBMSs though
[17:09:09] <StephenLynx> I suggest you just use the driver for your runtime environment directly.
[17:09:14] <StephenLynx> without extra abstractions.
[17:10:51] <comm64x> from what I've found online that seems to be the most recommended odm for rails
[17:11:47] <StephenLynx> well, you asked for my suggestion.
[17:12:05] <StephenLynx> which is the complete opposite of using an ODM.
[17:14:06] <comm64x> Thank you for your advice. ILike I said I'm still very new to document dbs I just assumed from previous experience that the odm was necessary. If its not necessary I'll try what youve suggested. So, just to be clear, you're saying use the ruby driver as opposed to mongoid
[17:14:47] <StephenLynx> unless you are already experienced and you know EXACTLY what you would gain fron an ODM, I suggest not using any.
[17:17:28] <mloskot> StephenLynx, if I may chime in and ask about your last sentence: does it mean you'd recommend a newbie to avoid ODM before gaining more experience?