Constructor
new ModelBatchItem(doc, docInfo, handler, cache)
Parameters:
Name | Type | Description |
---|---|---|
doc |
Object | |
docInfo |
Object | |
handler |
MappingHandler | |
cache |
Tree |
- Source:
Methods
(abstract) createQueries(docKeys) → {Promise.<Array>}
Gets the Promise to create the queries.
Parameters:
Name | Type | Description |
---|---|---|
docKeys |
Array |
- Source:
Returns:
- Type
- Promise.<Array>
(abstract) getCacheKey(docKeys) → {Iterator}
Gets the cache key for this item.
Parameters:
Name | Type | Description |
---|---|---|
docKeys |
Array |
- Source:
Returns:
- Type
- Iterator