get-convex / get-convex/aggregate

Optional bounds for full count

Open
#22 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
31
Forks
7
Avg merge
8h
Merged PRs (30d)
9

Description

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

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

And for a namespace I'd like to do:
```ts
aggregate.count(ctx, { namespace: userId });
```

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.