Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use timeseries module's find_entries_count() function to count database entries #68

Open
MukuFlash03 opened this issue Sep 14, 2023 · 0 comments

Comments

@MukuFlash03
Copy link
Contributor

As requested in this issue, added code implementation for counting the total number of documents in the timeseries databases.

This PR along with the issue mentioned above, under e-mission/e-mission-server contains detailed information acquired during the implementation process.

The functionfind_entries_count()can be accessed via the abstracted interface for timeseries using abstract_timeseries.
It takes in these parameters: key_list, time_query, geo_query, extra_query_list.
It supports both single and multiple keys passed as a list.

For sample usage and test cases, please refer to TestTimeseries.testFindEntriesCount

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant