Closed ferrants closed 7 years ago
Related: https://github.com/gadelkareem/sails-dynamodb/issues/34
Description: Have sort work by passing a dictionary containing a key of the index name and the direction as its value.
sort: {indexName: -1}
bah, I get Uncaught TypeError: query.usingIndex is not a function. I guess it's in scan mode?
Uncaught TypeError: query.usingIndex is not a function
Updated docs instead: https://github.com/gadelkareem/sails-dynamodb/pull/36
Related: https://github.com/gadelkareem/sails-dynamodb/issues/34
Description: Have sort work by passing a dictionary containing a key of the index name and the direction as its value.