New function: batch save of objects would make for more efficient processing
|Reported by:||Lllama||Owned by:||adrian|
|Has patch:||no||Needs documentation:||yes|
|Needs tests:||no||Patch needs improvement:||no|
Currently new records are saved one at the time using save(). In most cases this is sufficient though a batch save method would allow for more efficient database access when appropriate.
An example: An app allows the upload of a file which is parsed into many records. Currently each record would have to be looped over and save()d. A function which took the list of records and did One Big Insert would make the operation more efficient.
Change History (5)
comment:3 Changed 5 years ago by speedplane
- Resolution wontfix deleted
- Status changed from closed to reopened
comment:4 Changed 5 years ago by PaulM
- Needs documentation set
- Resolution set to wontfix
- Status changed from reopened to closed