Cphalcon: New chunk() method for Phalcon ORM

Created on 19 Apr 2019  路  4Comments  路  Source: phalcon/cphalcon

Hello.

I suggest to add the chunk() method for Phalcon ORM

Please see below image (from Laravel documentation) for to know his behavior:
小薪懈屑芯泻

new feature request

Most helpful comment

I suggest adding the chunk parameter in the options of theModel::find method. Instead of a separate method.

Robots::find(
    [
        'chunk' => 3
    ]
);

All 4 comments

Cursors already exist: https://docs.phalconphp.com/3.4/en/db-models#model-resultsets

@david-duncan okay, thank you

I suggest adding the chunk parameter in the options of theModel::find method. Instead of a separate method.

Robots::find(
    [
        'chunk' => 3
    ]
);

Closing this: Please vote for this feature here: https://github.com/phalcon/cphalcon/issues/14608

Was this page helpful?
0 / 5 - 0 ratings