fix(rethinkdb): compound index not optional in getAll

This commit is contained in:
Gregory Ristow
2018-08-10 08:41:30 -04:00
parent f7b8364e3c
commit aa7626908f
+1 -1
View File
@@ -317,7 +317,7 @@ declare module "rethinkdb" {
* See [getAll](https://www.rethinkdb.com/api/javascript/get_all/) and
* [compound indexes](https://www.rethinkdb.com/docs/secondary-indexes/javascript/#compound-indexes)
*/
getAll(compoundKey: string[], compoundKey2: string[], index?: Index): Sequence; // without index defaults to primary key
getAll(compoundKey: string[], compoundKey2: string[], index: Index): Sequence; // without index defaults to primary key
/**
* Get all documents matching 2 or more compound index keys.
* See [getAll](https://www.rethinkdb.com/api/javascript/get_all/) and