79471705

Date: 2025-02-27 05:58:31
Score: 0.5
Natty:
Report link

Looks like it has to come as options in the second argument when using the listBy* queries.

E.g.

client.model.Messages.listByTimestamp({
  // fields you need
}, {
  limit: 10,
  nextToken: nextToken,
  sortDirection: "DESC"
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Evgeny Urubkov