Closed jorol closed 8 years ago
I like that idea of projections. Are there any reasons it hasn't been merged? (you can do this with the retain-Fix, but I think we should this native mechanism, if provided by the store)
a side note: Elasticsearch supports projections, too.
Are there any reasons it hasn't been merged?
I don't know any. Both pull requests couldn't be merged together, there will be conflicts. I suggest to merge #6 first and I will edit this one afterwards.
hi jorol, what needs to change?
Hi nics,
I will fix this and make new pr this week.
Greetz
Fixed in #8.
Add support of projections, so you can limit fields to return from a query.
Optional parameter "fields" added to search() and searcher().
Question: When is the argument "$args{reify}" set in "lib/Catmandu/Store/MongoDB/Bag.pm"?