Mathieu Bouchard
Mathieu Bouchard
Local MongoDB support already works
This is happening to me as well. I even tried manually replacing all instances of NumberLong to NumberInt, hit save, and it still converts to NumberLong. I tried doing an...
From the debugging I've done, it appears to be caused by PHP's `MongoCollection.update()` function. @iwind, your code looks fine IMO. I inserted a simple test document with NumberInt, which became...
I used Robomongo to correct my document successfully. Are you sure this bug is applicable to all MongoDB admin UIs? I assumed the issue lied within PHP's implementation
Related: https://github.com/hibiken/react-places-autocomplete/issues/276
I ran into this myself just today and came to the same conclusion. I'm still thinking on what the approach would be, but I'm leaning towards removing the ability to...
Have you given it a try?
I agree it would be helpful. Have any of you tried just leveraging `LocalCollection._modify` directly? Something like: ``` coll.before.update(function (userId, doc, fieldNames, modifier, options) { LocalCollection._modify(doc, modifier); // doc should...
What you need to do is find a way to use minimongo on the server. I'll be honest... I don't remember how to do this without packages. My meteor projects...
If using `LocalCollection._modify(doc, modifier);` as I mentioned actually does work, perhaps I could have the collection-hooks package use the minimongo package on both server and client, and offer a `CollectionHooks.modify`...