nano - added startkey & endkey to DocumentListParams interface (#26749)

* added startkey & endkey to DocumentListParams interface

* added comments to sh show that end_key is an alias for endkey
This commit is contained in:
Glynn Bird
2018-07-02 10:18:46 -07:00
committed by Mohamed Hegazy
parent 89eff75944
commit a4d91b3b8f
+6
View File
@@ -855,6 +855,9 @@ declare namespace nano {
descending?: boolean;
// Stop returning records when the specified key is reached.
endkey?: string;
// Stop returning records when the specified key is reached. end_key is an alias for endkey
end_key?: string;
// Stop returning records when the specified document ID is reached.
@@ -883,6 +886,9 @@ declare namespace nano {
stale?: string;
// Return records starting with the specified key.
startkey?: string;
// Return records starting with the specified key. start_key is an alias for startkey
start_key?: string;
// Return records starting with the specified document ID.