N. D.
N. D.
At the beginning of the tests get the current time as integer like ``` var startTime = Date.now(); ``` Then run your tests where you put your createdAt timestamps (integer...
Sure you can use it. It is true that there are no new versions recently but the aws DynamoDB communication protocol dates back in 2012. However there is this fork...
Yes, you are creating an API. In that case you should not put vogels commands in your tests. You are writting test for your API methods. And when you are...
It is just the way that javascript and mocha works. Javascript runs all I/O operaions asynchronously, which means it does not waits for the API call to return the data...
Did you spot that ```done``` callback in the beforeEach? It is there for a reason... Also did that tutorial mentions if those tests are running async? If so you are...
Create query like [this](https://github.com/ryanfitz/vogels#query) or a scan like [this](https://github.com/ryanfitz/vogels#scan). And delete them one by one with some library like [Async JS](https://www.npmjs.com/package/async). OR Keep tracking of the IDs of the items...
[This article](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.UpdateExpressions.html#Expressions.UpdateExpressions.ADD) might be helpful. DynamoDB has different base types for the values which you are saving into the database. Those types are Boolean, String, Number and Set. Those base...
Perhaps something like this: ? ``` Contact .query('myaccount') .usingIndex('accountIndex') .exec(callback); ``` [You know that there is a documentation about this :-)](https://www.npmjs.com/package/vogels#global-indexes) There is also expression API that you may use...
Create table is just a check, that creates tables in dynamodb. If the tables already exists they are not created again. So if you know that the tables exists you...
@ryanfitz what do I need to complete this feature? Could you give me a hint? This test fails because they expect type 'date' but they receive type 'alternatives', which cannot...