get-convex / get-convex/aggregate
Optional bounds for full count
Open
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
Assessment
This issue has not been assessed yet.