[00:50:50] <ddod> This is a node question, but it's specific to mongo (and particularly the node native mongo module): I'm trying to wrap my head around how to modularize my code. Should I be sending a collection to a module, sending the whole db, opening the db pool and collection directly in the module, or something else? If I'm sending the collection or db object, do I still need to require the mongo module in my module or just in the app that originally o
[01:54:39] <davidcsi> hello all, I'm trying to create an update using a variable like so: var queryAnd = " $and: [{ "name": "David" },{ "lastname": "Whatever"} ] "; db.test.update({ queryAnd },{ ... }); is this even possible? Doesn't work for me
[03:09:38] <Diegao> anyone that uses mongoengine in python with tests
[08:08:10] <fred-fri> i need to store lesson plans with titles, description and optional files like images, pdfs etc
[08:08:43] <fred-fri> is storing the files in the file system and saving only pointers to them in mongodb frowned upon?
[11:16:18] <Exagone313> hello, i've a porblem with the installation of mongodb on ubuntu server 14.04 using http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ , when i execute the command to add the gpg key, it is ignored
[11:24:10] <Exagone313> finally, i use the official repo
[12:42:49] <appledash> Hi, I'm looking to do something that I'm not really sure how to do
[12:43:13] <appledash> I want to perform an update where I $pull an array of items from an array in the effected document
[12:43:21] <appledash> But I want the matching to be ignore case (they're all strings)
[12:43:25] <appledash> How could I go about doing this
[13:32:35] <appledash> I want to say have a document like {"name": "appledash", "tags": ["Things", "stuff", "OTHER"]} and then somehow $pull out ["tHiNgS", "STUFF"] and end up with {"name": "appledash", "tags": ["OTHER"]}
[13:38:56] <appledash> Because this is user input here, users can add tags to themselves with whatever case they please, and they can remove them with a different case if they want, but tags MUST be displayed in the same casing they were entered
[13:39:05] <appledash> I feel like there is a way to do this
[13:39:21] <appledash> I could always just do multiple $pulls with regex
[13:39:24] <appledash> But I want to mak it cleaner
[13:42:32] <kexmex> might just have to do it in the app layer
[13:48:58] <kexmex> i am guessing this kinda stuff doesn't have to be synchronous, so if you have issues with perf, you could always have a queue that processes this stuff and then changes eventually show up :)
[22:37:21] <ajitam> hi, question - I'm using $all : [tag1, tag2] to find some todo-s, but now I would like to find todos with "tag1" and "tag2" BUT exclude todos with "tag3"