An adapter that provides the simple-dynamo interface over a MySQL database, enabling offline/local development for AWS DynamoDB projects. Version 0.3.3 is the latest stable release (last updated in 2014). This package is in maintenance mode and not actively developed. Keys differences from Dynamo: table config options like `consistent`, `overwriteExistingHash`, and `combineTableTo` are not supported; undefined attributes in items are ignored; field lengths must be explicitly defined. Written in CoffeeScript, primarily for Node.js 0.8+.
npm install mysql-dynamoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows initialization of MySqlDynamo with MySQL connection and table definition, then creating a table and inserting an item.
Define all necessary attributes in the table definition. Review your schema before inserting data.
Remove these options from your table config if migrating from simple-dynamo.
Consider using a more up-to-date library or migrating to AWS DynamoDB directly.
Always include `length` in your attribute configs in table definitions.
Use an older Node.js version (0.10 or 0.12) or migrate to a different solution.
Run `npm install mysql-dynamo` and ensure you use the correct import syntax: `import MySqlDynamo from 'mysql-dynamo'`.
Use import syntax: `import MySqlDynamo from 'mysql-dynamo'`.
Create the database first using `CREATE DATABASE`, or change the connection settings to point to an existing database.
Check if table exists before creating, or use `IF NOT EXISTS` (not supported by this library). Handle the error gracefully.