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
I'm using the _find-Function due it's neat selector-syntax. The "fields"-option controls which fields (attributes with content aka keys with values) should be returned. But they are some use-cases you just want to know how many matches occurred without any returned fields. How can I achieve that?
Sure they are the execution_stats which contain the keys "total_docs_examined" and "results_returned" which contain the count that I need. Unfortunately the "fields" came back as well, how can I suppress this behaviour?
As this question remains unanswered for days I assumed that this feature does not exists. So here it is in the "Ideas"-Category.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using the _find-Function due it's neat selector-syntax. The "fields"-option controls which fields (attributes with content aka keys with values) should be returned. But they are some use-cases you just want to know how many matches occurred without any returned fields. How can I achieve that?
Sure they are the execution_stats which contain the keys "total_docs_examined" and "results_returned" which contain the count that I need. Unfortunately the "fields" came back as well, how can I suppress this behaviour?
As this question remains unanswered for days I assumed that this feature does not exists. So here it is in the "Ideas"-Category.
Beta Was this translation helpful? Give feedback.
All reactions