Commit 4f8f8be
authored
Fix Paginate(Keys()) max width (#1)
when running the bellow query in a database that contains many keys, it
results in a bad request
```
> Paginate(Keys(), {size: 10})
Error: bad request
{
errors: [
{
code: 'bad request',
description: 'Query exceeds max width. Max: 100000, current: 118986.'
}
]
}
```
even the `size` parameter is being ignored.
Turns out the Union of the indexes is not necessary as
`DocumentsByCollection` will return all keys anyway.1 parent feb75fc commit 4f8f8be
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
90 | 88 | | |
91 | 89 | | |
92 | 90 | | |
| |||
0 commit comments