Querying with an array based key produces inconsistent results across
different key indexes.

For example, consider a view that emits the following keys

[0, 0]
[0, 1]
[1, 0]
[1, 1]

Querying with startkey=[0, null] and endkey=[0, {}] returns

[0, 0]
[0, 1]

However, querying with startkey=[null, 0] and endkey=[{}, 0] does not return

[0, 0]
[1, 0]

Instead, all rows are returned.

Is this the expected behaviour?

Thanks
Paul

Reply via email to