The way the function query() works right now is to use a filter on the array which results in a linear scan of the output array.
As we are moving forward with multi-index, standardizing query so that it can take advantage of the index(es) and work with more complex queries (sorting, aggregating the results, fields filtering...).
Any thought on what standard to follow? Mongodb style?
The way the function
query()works right now is to use a filter on the array which results in a linear scan of the output array.As we are moving forward with multi-index, standardizing query so that it can take advantage of the index(es) and work with more complex queries (sorting, aggregating the results, fields filtering...).
Any thought on what standard to follow? Mongodb style?