Geoffrey Wagner
Geoffrey Wagner
Same here :(
This problem is fixed in my branch already. I have created a _querySetup function that take care of the problem you have described. This is a snippet from my Shanty_Mongo_Collection...
There are a multitude of ways to go about this. The best ways are going to be through preInsert() preUpdate() and preSave(). I have Shanty_Mongo_Document subclassed to Project_Model_Mongo which has...
I just ran a simple test using the function you provided above, and php pukes when it sees a function there. It looks like you can add anon functions to...
A fix for this would be prepend your numeric fields with something like field_{numeric index here}. Since your dealing in document objects, your attributes should have some sort of meaning...
I guess it depends on your development situation. If your a lone programmer that will never have anyone ever look at your code and you will never forget why you...
I pushed your fix into my branch for general consumption
I guess it is a 6 of one, half a dozen of the other type of situation. Since your doing a numeric link between field name in mongo and RDBMS,...
I have also found the control between making something a document / document_set / array slightly confusing and poorly documented. What is the method to the madness? I would be...