[01:49:13] <azbyin> now if i want only the document where user abc is involved, how do i setup the query?
[01:58:03] <azbyin> i understand the $in operator anbd it is very powerful, but it does thi wante opposite of what
[01:59:05] <azbyin> i mean, i want to select documents that have a matching string within the field's value array
[01:59:40] <azbyin> $in matches the field's single value to be within my supplied array of values
[05:43:53] <naiquevin> Hello everyone, I have an instance of mongodb running on a server with 1gb ram and no swap but top shows that mongod is taking 5gb virtual memory. Is this possible?
[09:39:26] <jayant__> Hi, can i define a class in pymongo?
[09:39:56] <jayant__> i want mongo to accept data in a particular format
[10:59:33] <kali> jayant__: you need something more than pymongo for that. look at mongoengin or other odm implementations
[13:00:52] <mitsuhiko> anyone any ideas how to figure out why lock contention on a mongodb is on the rise?
[13:01:07] <mitsuhiko> the primary barely has any load and io seems to be doing fine as well
[19:13:26] <Glacee> Does the secondary nodes keep the active data set in memory?
[19:14:45] <The_Programer> if I use var to define a MongoCollection I can call FindOne() on it but if I define a MongoCollection using MongoCollection I can not call FindOne() why is that?
[19:16:12] <strnadj> The_Programer: how do you mean it? Could you please give us an example?
[19:17:14] <The_Programer> if I define a collection like this: var collection = database.GetCollection<MailMessage>("messages"); this works: collection.FindOne(query);
[19:17:58] <The_Programer> if I do it like this: MongoCollection collection = database.GetCollection<MailMessage>("messages"); then I get no definition for FindOne
[20:54:17] <zachwolfe> I have a record with fields 'username' and 'email'. I'd like to, using one request, find a record with a match in the field 'username' or 'email', or both. Is this possible?