electrodb 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/notes +23 -0
  2. package/package.json +1 -1
  3. package/src/entity.js +1 -0
package/notes ADDED
@@ -0,0 +1,23 @@
1
+ put
2
+ 1. checkCreate
3
+ - getValidate
4
+ - `val()`
5
+ - `cast()`
6
+ - undefined ? `default()`
7
+ - `isValid()`
8
+ - `_isType()`
9
+ - `validate()` - user validation
10
+
11
+ 2. items added to clause state via `applyPut`
12
+ 3. pk && sk are expected
13
+ put(batch)
14
+ create
15
+ 1. checkCreate
16
+ 2. items added to clause state via `applyPut`
17
+ upsert
18
+ 1. checkCreate
19
+ update
20
+ patch
21
+ remove
22
+ delete
23
+ delete(batch)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electrodb",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "A library to more easily create and interact with multiple entities and heretical relationships in dynamodb",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/entity.js CHANGED
@@ -1009,6 +1009,7 @@ class Entity {
1009
1009
 
1010
1010
  if (validations.isStringHasLength(option.table)) {
1011
1011
  config.params.TableName = option.table;
1012
+ config.table = option.table;
1012
1013
  }
1013
1014
 
1014
1015
  if (option.concurrent !== undefined) {