resourceful-simpledb

0.12.0 • Public • Published

resourceful-simpledb

A SimpleDB back-end for Resourceful.

wercker status

Testing

To run the tests you'll need to add your AWS keys. This can be done by copying config/environment.yaml to config/test.yaml and adding your keys, before running npm test.

Using the module

See the tests for some quick examples of how to use the library. More substantial help is available at the Resourceful site.

Note that each field of data is converted before being sent to SimpleDB so as to allow for sorting. For example, the number 42 will be converted to number:0000000042, to ensure that it is lower in the sort order than 2577689 (which would become number:0002577689). The data is converted again when being read so your application will never see the normalised data, but it does mean that if you are using other tools to view your data on SimpleDB you'll need to account for the datatypes.

For more information about this aspect of using SimpleDB, see Working With Numerical Data in the AWS SimpleDB Developer Guide.

Package Sidebar

Install

npm i resourceful-simpledb

Weekly Downloads

3

Version

0.12.0

License

Apache-2.0

Last publish

Collaborators

  • markbirbeck