Skip to content

Optional bounds for full count #22

Description

@ianmacartney

If I want to get the full count, I'd like to just do:

aggregate.count(ctx);
// instead of 
aggregate.count(ctx, {bounds: {}});

And for a namespace I'd like to do:

aggregate.count(ctx, { namespace: userId });

setting bounds to {} is not super discoverable, I assumed I needed to specify prefix or something.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions