Skip to content

Support for generator.  #166

Open
Open
@Legion112

Description

@Legion112

Instead of loading all item in mermory ->rows or using the readSteam function would be nice to have a iterator interface to be able to loop all items without loading them to memory.

Something like:

$client->select('SELECT * FORM table');
foreach($client->interator() as $row) {
    echo $row['first_column] . ',' . $row['second_column];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions