dynoquery 0.1.23 → 0.1.24

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 (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -371,6 +371,7 @@ await johnMeta.save();
371
371
  - `create(data?, indices?)`: Persists the item as a new record with the provided data. Supports GSI indices and internal `conditionBuilder`.
372
372
  - `update(data, indices?)`: Partial update of the item. Supports GSI indices and internal `conditionBuilder`.
373
373
  - `save()`: Persists the current state of the item. Uses indices attached via `setIndex()` and internal `conditionBuilder`.
374
+ - `getData()`: Returns a clean data object containing only the database attributes (filters out internal state and methods).
374
375
  - `setIndex(indices)`: Attaches one or more `IndexQuery` objects to the item.
375
376
  - `setFilter(builder)`: Sets a filter expression builder for the item.
376
377
  - `setCondition(builder)`: Sets a condition for the item using an `ExpressionBuilder`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dynoquery",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/devspikejs/dynoquery.git"