[07:05:10] <CMistress> Morning all. I'm trying to reference a field in $regex and am wondering if this is even possible. For example: {$project: {name: "$creator.name"}},{...$regex: /$name/} -- ignore any syntax errors, I'm trying to show the intent. I want $name from $project to be referenced in the $regex -- like variable interpolation. Is this possible?
[10:42:23] <leitz> Newbie question. If I'm pulling a document from a collection and changing multiple values, and which values get changed may not be the same key, should I just delete the document and insert it? Or is there a way to update_one with multiple changes?
[10:47:52] <leitz> Oh, cool, I can just pass the hash as the $set data. Yay!
[12:08:35] <mitereiter> hi, does anyone have any experience with ops manager on Windows 7?
[18:30:00] <deathanchor> hey, anyone able to get around using a connect() object and run adminCommand on secondary? i keep getting "not master and slaveOk=false" even though I have setSlaveOk()
[18:33:16] <deathanchor> var dbo = new Mongo('secondaryDbName:port').getDB('test'); dbo.setSlaveOk(); dbo.adminCommand('listDatabases');