Predefined queries with parameters
Let the user select for a collection a query with parameters.
Also let the user ctrl+click (or similar) on an attribute of a doc to open one of this queries with parameters (from this or other collection) with that clicked attribute as a parameter value.
For example:
On my 'orders' collection I predefine the query {_id: <param1>}
and on my 'users' collection, predefine that if I ctrl+click on a user attribute 'lastOrderId' it will open the 'order' collection and auto-run the query stated above with 'param1' being the value of 'lastOrderId'.
2
votes
Martin
shared this idea