Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Detect and flatten nested arrays in array commands like $in

#11

I ran into a bug where map was called when flatMap should have been.

The net result was:

: {$in: [["key": "value"]]

Which Mongo doesn't like.

We should detect simple programming mistakes like this and flatten for you.

Reported by Brendan W. McAdams · August 1st, 2010 @ 09:01 PM

State: new
Milestone: 1.1
Assigned to: Brendan W. McAdams Brendan W. McAdams

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.