[10:18:35] <Derick> that looks about right! glad you got it working
[10:19:32] <littlekitty> one more thing, do you know if it's alright to use the result of a find operation as a collection for a python's for loop?
[10:19:39] <littlekitty> e.g.: for document in collection.find({'$and': [{'confirmations': {'$gte': 6}}, {'swapped': False}]}):
[10:20:54] <littlekitty> (btw I hope that will give me all the documents where 'confirmations' is greater than or equal 6 and the boolean of 'swapped' is false)
[10:22:50] <littlekitty> oh okay good to know, thank you I changed it
[11:11:17] <Yukkuri> hi, how do i express joins in mongodb?
[11:12:06] <Yukkuri> say, i have in my collection a foreignkey ID pointing to other collction, how do i join them in plain collection, so i can sort on fields of joined collections?
[11:12:40] <Yukkuri> say, A { name: STRING, bar: B_ID }; B { name: STRING }
[11:12:49] <Yukkuri> how do i query on A, so i can osrt on B.name ?