Query with Startkey


#1

could i use Startkey and Endkey without View?I find in web console i can search
document using Startkey with bucket


#2

@hubo3085632 startKey and endKey are query options for views, so no, you can’t use them without a view.

What are you trying to achieve?


#3

why console can search with startkey without having view?
view has delay,i thought there has another way to search with startkey in realtime


#4

@hubo3085632 the console is using some internal components to make that magic happen, but this is not available to the end user.

Well, with views you can determine if the index should be up to date on query time (staleness).