Problem/Motivation

Currently the data handler load() API is not able to load all records from a data table. It requires an associative array which is passed as condition to the SELECT query.

In some cases, it is required to fetch all records and not just few records based on the condition.

Proposed resolution

Either create a new API that returns all records, or alter the existing load() API so that it returns all records if no array is passed.

Remaining tasks

Add this new API request.

User interface changes

N/A

API changes

Either a new API say loadAll() will be added which returns all records. Or, the existing load() API will be changed so that $keys is made optional, and if not $keys is passed all records will be retunrned.

Data model changes

N/A

CommentFileSizeAuthor
#2 ability_to_load_all-2764083-2.patch1.85 KBsubhojit777

Comments

subhojit777 created an issue. See original summary.

subhojit777’s picture

Status: Active » Needs review
StatusFileSize
new1.85 KB