Details
Description
collection->get($key)
Atm in 2.1.2 this is loading the entire collection. It would be really handy that it would extra lazy load only one item using the association and indexBy fields and given key value (if collection is not initialized and the key havent been loaded yet ofc)
Am i making sense with this?
Activity
Reio Piller
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Summary | loading one item at a time when indexBy and LAZY_LOAD is used on a collection | loading one item at a time when indexBy and EXTRA_LAZY is used on a collection |
| Description |
collection->get($key) Atm in 2.1.2 this is loading the entire collection. It would be really handy that it would lazy load only one item using the association and indexBy fields and given key value (if collection is not initialized and the key havent been loaded yet ofc) Am i making sense with this? |
collection->get($key) Atm in 2.1.2 this is loading the entire collection. It would be really handy that it would extra lazy load only one item using the association and indexBy fields and given key value (if collection is not initialized and the key havent been loaded yet ofc) Am i making sense with this? |
Reio Piller
made changes -
| Summary | loading one item at a time when indexBy and EXTRA_LAZY is used on a collection | loading one item at a time when indexBy and EXTRA_LAZY fetch mode is used on a collection |
Benjamin Eberlei
made changes -
| Fix Version/s | 2.1.3 [ 10164 ] |
Benjamin Eberlei
made changes -
| Fix Version/s | 2.2-DEV [ 10157 ] | |
| Fix Version/s | 2.1.4 [ 10165 ] |
Guilherme Blanco
made changes -
| Fix Version/s | 2.x [ 10090 ] | |
| Fix Version/s | 2.2 [ 10157 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 13053 ] | jira-feedback [ 13971 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 13971 ] | jira-feedback2 [ 15835 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 15835 ] | jira-feedback3 [ 18091 ] |