Questions tagged [dynastyjs]

Dynasty is a simple Amazon DynamoDB client for Nodejs

Dynasty - Promise-based DynamoDB API. This library was built in an attempt to make it a bit more easy to work with.

3 questions
1
vote
1 answer

Use Dynasty DynamoDB Query in Alexa Response

I am using Dynasty in my Nodejs Alexa Skill Service, run on AWS Lambda, to query DynamoDB. Due to the structure of the API, I am unable to use a query's result in my Alexa response. In the code below, the callback passed to 'then' is run after the…
Ababwa
  • 131
  • 1
  • 8
0
votes
1 answer

Return Promise from DynamoDB before Alexa output

Building an Alexa skill that requires persistence. I am calling the database to get the user details prior to managing the flow and I'm struggling to get Node to wait for the response from DynamoDB (using Dynasty.js to handle the db connectivity).…
midtempo
  • 1
  • 3
0
votes
1 answer

dynastyjs: how to find item(s) using secondary global index

I have a table: digital_asset, it's partition key is: id. It has a global secondary index: ean-index with partitioning-key: ean. I'd like to be able to query the table using the secondary index using dynastyjs. With aws-sdk I would do this: return…
Gavriel
  • 18,880
  • 12
  • 68
  • 105