You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing some database querying I found it rather convoluted to filter by a min/max force component (so that you select all documents that have no forces outside these criteria) using standard mongodb terms.
The following query will only return documents with all its force components contained within the bounds of force_lim:
When doing some database querying I found it rather convoluted to filter by a min/max force component (so that you select all documents that have no forces outside these criteria) using standard mongodb terms.
The following query will only return documents with all its force components contained within the bounds of
force_lim
:You could also create an absolute max force component field and query it as such:
However creating this involves the following code:
A potential feature could be to make this more streamlined in future.
The text was updated successfully, but these errors were encountered: