[06:52:07] <erik_x1> the problem is that when using dot notation like that to access a key in a subdocument, mongodb is interpreted the "1" as an array index
[06:54:20] <erik_x1> actually, works ok for me in a 2.4 shell.
[12:20:18] <sgo11> I am a newbie to mongodb. I am reading the official manual. I don't really understand the page http://docs.mongodb.org/manual/tutorial/perform-two-phase-commits/ . I think it's wrong. For example, in "Rollback" section, it says "After you create the transaction (i.e. the first step), but before you apply the transaction (i.e the third step)", then need to "Undo the Transaction". I think it's wrong. Before the third step, the operation (db.accounts.update
[12:20:19] <sgo11> ) never runs. can anyone tell me if the manual is wrong or I am wrong? thanks.
[12:22:13] <sgo11> the manual says "undo the transaction operation from both accounts." BUT before the third step, the operation never happens. why undo?
[12:32:04] <thykka> noob question: how do I find an entry by it's _id?