You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the query {'list.foo':42} in the mongo shell meteor mongo works fine and retrieves the record. However, running it on the browser fails with an error "TypeError: Cannot read property 'foo' of undefined"
The immediate code generated by minimongo to be eval'ed is:
While doing Collection.insert(object), I didn't have the array item (list) in the object. If I added it later (using update($push) - it doesn't seem to work. It does seem like a little odd behavior but nothing that can't be worked around.
Create a new record in a collection:
Running the query {'list.foo':42} in the mongo shell
meteor mongo
works fine and retrieves the record. However, running it on the browser fails with an error "TypeError: Cannot read property 'foo' of undefined"The immediate code generated by minimongo to be eval'ed is:
The text was updated successfully, but these errors were encountered: