Filtering on minimongo

I am working on an app with records with complex and deep data structures. Should I filter all my records in my client code myself, or would it be more efficient if I try to build at least some of the filters in my find function of minimongo, before further filtering.

Minimongo doesn’t have all features which mongodb does. I think you should do some filters on the server side before.

2 Likes

Thank you, I am assuming that using my own javascript, optimized for my particular search needs, might be faster than doing the same search using minimongo’s find parameters.

In my case I am following linkage data, several steps, back and forth, through two interlinked record types (records from two collections).

Though your point of running the search on the server may be the best approach, I am concerned about losing the processing advantage of having each client doing its own searching locally.

1 Like