@commonthread/dynamodb-crud
v1.0.3
Published
Basic CRUD operations for Dynamo DB
Downloads
5
Readme
dynamodb-crud
Basic CRUD operations for dynamo DB
Source available here
| Param | Type | Description | | ------ | ------------------- | ------------ | | docClient | DocumentClient | AWS Dynamodb DocumentClient | | tableName | string | table name string | | field | string | search field name | | value | string | search field value |
| Param | Type | Description | | ------ | ------------------- | ------------ | | docClient | DocumentClient | AWS Dynamodb DocumentClient | | tableName | string | table name string |
| Param | Type | Description | | ------ | ------------------- | ------------ | | docClient | DocumentClient | AWS Dynamodb DocumentClient | | tableName | string | table name string | | id | string | id field value | | idField | string | id field name | | rangeId | string | rangeId field value | | rangeIdField | string | rangeIdField field name |
| Param | Type | Description | | ------ | ------------------- | ------------ | | docClient | DocumentClient | AWS Dynamodb DocumentClient | | tableName | string | table name string | | item | object | object to insert |
| Param | Type | Description | | ------ | ------------------- | ------------ | | docClient | DocumentClient | AWS Dynamodb DocumentClient | | tableName | string | table name string | | data | object | data to update with | | id | string | id field value | | idField | string | id field name |
| Param | Type | Description | | ------ | ------------------- | ------------ | | docClient | DocumentClient | AWS Dynamodb DocumentClient | | tableName | string | table name string | | keys | string array | field names to update | | keyValues | string array | field value to update |