electrodb
Advanced tools
Comparing version 1.4.8 to 1.5.0
@@ -118,2 +118,9 @@ # Changelog | ||
### Fixed | ||
- Addressed issue#90 to flip batchGet's response tuple type definition. | ||
- Addressed issue#90 to flip batchGet's response tuple type definition. | ||
## [1.5.0] = 2021-11-07 | ||
### Changed | ||
- Queries will now fully paginate all responses. Prior to this change, ElectroDB would only return items from a single ElectroDB query result. Now ElectroDB will paginate through all query results. This will impact both uses of entity queries and service collections. [[read more](./README.md#query-method)] | ||
- The query option `limit` has an extended meaning with the change to automatically paginate records on query. The option `limit` now represents a target for the number of items to return from DynamoDB. If this option is passed, Queries on entities and through collections will paginate DynamoDB until this limit is reached or all items for that query have been returned. [[read more](./README.md#query-options)] | ||
### Added | ||
- A new query option `pages` has been added to coincide with the change to automatically paginate all records when queried. The `pages` option sets a max number of pagination iterations ElectroDB will perform on a query. When this option is paired with `limit`, ElectroDB will respect the first condition reached. [[read more](./README.md#query-options)] |
{ | ||
"name": "electrodb", | ||
"version": "1.4.8", | ||
"version": "1.5.0", | ||
"description": "A library to more easily create and interact with multiple entities and heretical relationships in dynamodb", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -154,2 +154,14 @@ // # Errors: | ||
}, | ||
InvalidPagesOption: { | ||
code: 2005, | ||
section: "invalid-pages-option", | ||
name: "InvalidPagesOption", | ||
sym: ErrorCode, | ||
}, | ||
InvalidLimitOption: { | ||
code: 2006, | ||
section: "invalid-limit-option", | ||
name: "InvalidLimitOption", | ||
sym: ErrorCode, | ||
}, | ||
InvalidAttribute: { | ||
@@ -156,0 +168,0 @@ code: 3001, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
549344
7822
5500