gadelkareem / sails-dynamodb

Amazon DynamoDB adapter for Waterline / Sails.js
http://sailsjs.org
46 stars 22 forks source link

Multiple GSI Support #42

Closed ferrants closed 7 years ago

ankit2002 commented 7 years ago

Hey, Do you guys have any example for this adapter.

ferrants commented 7 years ago

@ankit2002 Yes, see the readme in the repo

ankit2002 commented 7 years ago

Thanks for the response. I have done the setting part in Connections and models. But I could not understand how does i have to create a table or fetch a tables details.

ferrants commented 7 years ago

I create the tables using cloudformation and then use this to point to those tables

ankit2002 commented 7 years ago

Can we create the table from the code itself. Please let me know if you have any running code. Because i am trying to use sails js with dynamodb.

ferrants commented 7 years ago

Yes. It just tries to create them if they don't exist. Not sure if it sets up all indexes correctly or how it sets up capacities. Yeah, this library is for using sails with dynamodb.