map will work over the cursor itself because it is Iterable. This both avoids silly NPEs and follows the common sense of finder functions: they must return an empty sequence when there are no results, not nil. |
||
|---|---|---|
| .. | ||
| monger | ||
map will work over the cursor itself because it is Iterable. This both avoids silly NPEs and follows the common sense of finder functions: they must return an empty sequence when there are no results, not nil. |
||
|---|---|---|
| .. | ||
| monger | ||